GithubHelp home page GithubHelp logo

riccardoravaro / spring-boot-postgresql-jpa-hibernate-rest-api-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo

0.0 1.0 0.0 54 KB

Building RESTful APIs with Spring Boot, PostgreSQL, JPA and Hibernate

Home Page: https://www.callicoder.com/spring-boot-jpa-hibernate-postgresql-restful-crud-api-example/

Java 100.00%

spring-boot-postgresql-jpa-hibernate-rest-api-demo's Introduction

Spring Boot, PostgreSQL, JPA, Hibernate REST API Demo

Tutorial

Check out the complete tutorial on the CalliCoder blog -

Spring Boot, PostgreSQL, JPA, Hibernate RESTful CRUD API Example

Steps to Setup

1. Clone the repository

git clone https://github.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo.git

2. Configure PostgreSQL

First, create a database named postgres_demo. Then, open src/main/resources/application.properties file and change the spring datasource username and password as per your PostgreSQL installation.

3. Run the app

Type the following command from the root directory of the project to run it -

mvn spring-boot:run

Alternatively, you can package the application in the form of a JAR file and then run it like so -

mvn clean package
java -jar target/postgres-demo-0.0.1-SNAPSHOT.jar

spring-boot-postgresql-jpa-hibernate-rest-api-demo's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.