- Install & Start PostgreSQL
- Linux:
systemctl start postgresql
- Windows: manual start under Dienste
- Create database
- db name is
todo
(defined in application.properties) - manually created in pgadmin
- db name is
- Linux:
- Run application and check on
http://localhost:8081/todos
Same as above, but also:
- Check JAVA_HOM env variable
- Windows:
Get-ChildItem Env:
export JAVA_HOME=C:\Program Files\Java\jdk-17.0.1
- Linux:
- Windows:
application.properties
- Add Entity (using JPA Buddy - Inspector / Palette)
- Add Repository (using JPA Buddy - JPA Structure)
- Add Migration file (using JPA Buddy - JPA Structure)
- Database-table automatically created on API Post-request