Deploying a Data Faker Spring Application at Render
- H2 (in memory database)- Insomnia (api debug)
- Swagger (api debug)
- Java 17
- Docker (To deploy a Dockerfile at Render)
- Get All People:
/api/person
- Seed Data (100 random people):
/api/person/seed-data
- Add Person:
/api/person
- Expected body:
{ "firstName": "string", "lastName": "string", "address": "string" }
- Expected body:
- Clear Database (delete all people from H2):
/api/person
docker build --rm -t my-spring-app .
-
docker run my-spring-app