Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 2.16 KB

README.md

File metadata and controls

50 lines (40 loc) · 2.16 KB

💲 Money API 💲

Expenditure Listing API Rest

License Badge Forks Badge Language Badge Database Badge Container Badge


Project where I implement concepts such as query string, pagination, error handling in requests and packaging of the application in a Docker 🐳 container I used the Flyway library for versioning the database

You can run the entire project on your machine (if you have the Docker installed) giving only one docker compose up on

Entity

  • 🧑 Person
  • 💱 Category
  • 💹 Launch

The controllers do not know and do not do any type of operation directly in the repository classes, everything is done in the service layer of the application to separate the responsibilities

🔁 Endpoints

💹 Launch

- GET     /launch returns all lauch made
- GET     /launch/{id} returns launch compatible with id
- POST    /launch a new release persists
- DELETE  /launch/{id} removes the launch compatible with the id

🧑 Person

- GET     /person returns all person
- GET     /person/{id} returns person compatible with id
- POST    /person a new person persists
- DELETE  /person/{id} removes the person compatible with the id
- PUT     /person/{id} updates data of an already persisted person

💱 Category

- GET     /categories returns all categories made
- GET     /categories/{id} returns categories compatible with id
- POST    /categories a new categories persists
- DELETE  /categories/{id} removes the categories compatible with the id

⚙ Set

You only need to have the docker installed and run the command docker compose up In the project's root folder

Give a ⭐️ if this project helped you!