Skip to content

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

Notifications You must be signed in to change notification settings

koderjohannes/student

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages