0xStryK3R / Sample-SpringBoot-Postgres-Project

Spring Boot Project Using Postgres DB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Java 100.0%