Skip to content

rodrigues14/financerto-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💰 FinanCerto 💰

DescriptionFunctionalitiesTechnologiesInstallation and ConfigurationEndpointsLicenseAuthor

📋 Description

Financerto is a Rest API designed to help users manage their personal finances. With Financerto, users can track their expenses, revenues, financial targets and wallet balance easily and conveniently.

⚙️ Functionalities

  • 🧑 User:
    • Registration of new users.
    • Login with authentication via JWT Token.
  • 📉 Expense
    • Complete CRUD for expense management.
    • Possibility to add, view, update and delete expenses.
  • 📈 Revenue
    • Complete CRUD for revenue management.
    • Possibility to add, view, update and delete revenues.
  • 🎯 Target
    • Complete CRUD for target management.
    • Possibility to add, view, update and delete financial targets.
    • Track target progress in %.
  • 💸 Wallet
    • Total user balance.
    • Total amount of expenses.
    • Total amount of revenues.

💻 Technologies

  • Java 17
  • Spring Boot 3
  • Spring Security
  • Flyway
  • PostgreSQL
  • JUnit and Mockito
  • Springdoc

🛠️ Installation and Configuration

You need to have JDK and PostgreSQL installed.

  1. Clone Git repository.
git clone https://github.com/rodrigues14/financerto-backend.git
  1. Check if all dependencies have been installed.
  2. Configure database properties in application.properties file.
  spring.datasource.url=jdbc:postgresql://localhost/yourDB
  spring.datasource.username=username
  spring.datasource.password=password
  1. Run the spring boot application.
  2. Test the application through postman/Insomnia or Swagger: http://localhost:8080/swagger-ui/index.html#/

📍 Endpoints

POST / Register user.

REQUEST

{
    "name": "Lucas",
    "email": "lucas14@gmail.com",
    "password": "123456"
}

POST / Login.

REQUEST

{
    "login": "lucas14@gmail.com",
    "password": "123456"
}

RESPONSE

{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJmaW5hbmNlcnRvIiwic3ViIjoibHVjYXMxNEBnbWFpbC5jb20iLCJleHAiOjE3MTU3ODgzMDR9.6UA9S_BjzaGZYBjkbZQwLl0z_U10A6EzGkUWr4oJ5TM"
}

All endpoints

swagger

📃 License

This project is under [MIT](./LICENSE) license.

🧑‍💻 Author

The Financerto project was developed by [Lucas Rodrigues](https://www.linkedin.com/in/lucas-rodrigues-perfil/).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages