Skip to content

0xStryK3R/Sample-SpringBoot-Postgres-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Spring Boot Project Using Postgres DB | Visitor Count

  1. Database Setup (Postgres):
    CREATE DATABASE shopme;
    CREATE USER shopmeuser WITH ENCRYPTED PASSWORD 'shopmepass';
    GRANT ALL PRIVILEGES ON DATABASE shopme TO shopmeuser;
  2. Once DB has been setup, download the repo and launch it in IntelliJ IDE.
  3. Update DB credentials in application.yaml file inside src/main/resources directory path.
  4. Run the project.
  5. All Done!! Click Here to interact with your app:

Assumptions: IntelliJ IDE, Java (Open JDK 1.7+) and Postgres DB have been setup and is running prior to starting with this project.

References: For Complete details, please refer Spring Boot Connect to PostgreSQL Database Examples - the source article for this Repo.

About

Spring Boot Project Using Postgres DB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages