The source code of Enterprise System Integration 2022 spring project of Team E:
- Lana Botchorishvili
- Karoliine Holter
- Carolin Kirotar
- Marta Napa.
For the first time:
- Clone the project
- Make a Postgres database named "project" on your computer (for example, following the steps below)
- Open pgAdmin
- From the left column, right-click on “Databases”
- Click “create”
- Create a database with the name project
- Open the project in IntelliJ (or VSCode)
- Open file
application.properties
and on line 9 changespring.jpa.hibernate.ddl-auto
fromupdate
tocreate
- Run the project
- Stop the project
- Change
spring.jpa.hibernate.ddl-auto
back toupdate
- Run the project again
Try it out:
- Open http://localhost:8080/api/cars in the browser (it should show the list of cars)
The project is deployed at: https://esi-2022-backend.herokuapp.com/.
The same /api/cars
API can be tested out on https://esi-2022-backend.herokuapp.com/api/cars.