Skip to content
Proyek

callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo

Lihat di GitHub

Tentang

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

Pengembangan web dan aplikasi

Cara angka ini diukur

321 bintang170 Fork +1 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+1
dalam 7 hari
+1
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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

Jelajahi proyek terkait

Memuat…