Skip to content

Latest commit

 

History

History
59 lines (54 loc) · 1.8 KB

README.md

File metadata and controls

59 lines (54 loc) · 1.8 KB

Student

A spring boot application using postgreSQL and java 11. The project is used for learning purposes of how to build and structure an application.

Tech stack:

  • Java 11
  • PostgreSQL
  • Spring boot

Setup:

In the terminal: Start psql locally and enter the psql CLI

psql -h localhost

Create the student database instance

CREATE DATABASE student

Grant yourself all privileges to the database

GRANT ALL PRIVILEGES ON DATABASE "student" TO [insert your local username]

Get an overview over the current roles and permissions in the different postgreSQL databases

\l

Connecting to the student database

\c student

Run the project

  • The @Table annotations should come into effect, and tell the database how to map student

Get an overview over the current scheme in the student db

7. select * from student;   

Recommended tools for testing: