Skip to content

A Student CRUD project using Spring Boot, Data JPA and Postgres.

Notifications You must be signed in to change notification settings

justmatt18/springboot-jpa-student-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Spring Boot Practice using Postgres

Technologies

  • Java - Spring Boot Framework
  • Postman - Testing API
  • PostreSQL - Database

Starter Project Dependencies

  1. spring-boot-starter-data-jpa
  2. spring-boot-starter-web
  3. postgresql

Postgres Guide

login to postgre

psql user=<username>

list all database

\l or \list

list users

\du

connect to database

\c <database name>

create dabatase

CREATE DATABASE <db name>;

create new username w/o password

CREATE USER username;

create new username w/ password

CREATE USER username WITH PASSWORD 'password'

Grant all privileges on data to the specific user

GRANT ALL PRIVILEGES ON DATABASE <db name> TO <user>;

Learn ❤️ + Grind 🍺

About

A Student CRUD project using Spring Boot, Data JPA and Postgres.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages