Skip to content

In this project is possible to create a piggy bank, which makes it easier to track your money.

License

Notifications You must be signed in to change notification settings

crisywini/piggy-bank

Repository files navigation

Java CI with Maven

Piggy Bank 🐷💰

This project allows you to manage information about your savings in a piggy bank.

Here are some functionalities:

  • Create coins
  • Create a Piggy Bank
  • Find a Piggy Bank by its id
  • Close a Piggy Bank
  • Calculate the total in your Piggy Bank
  • Delete a Piggy Bank

Usage

Installed Maven and Java 17.

Download the repo and run the next command in the root folder:

mvn spring-boot:run 

Then you can use the localhost:8080/ the exposed services at this moment are:

Service Method Description
/coins POST Saves a coin definition
/piggy-banks POST Saves a Piggy Bank
/piggy-banks/{id} GET Finds a Piggy Bank by its id
/piggy-banks/close/{id} PATCH Close a Piggy Bank (like breaking it)
/piggy-banks/total/{id} GET Calculates the total amount in a specific Piggy Bank
/piggy-banks/{id} DELETE Deletes a Piggy Bank

About

In this project is possible to create a piggy bank, which makes it easier to track your money.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages