This project is the back-end API for the Manage Money system, which helps users manage the total money they have lent to friends and sends reminders to friends about the money they owe. The front-end of the system is available at: Manage Money Website.
- Manage total lent money: Keep track of the total amount of money you have lent to your friends.
- Send reminders: Automatically remind friends about the money they owe you.
- API integration: Easily connect the API with the front-end application.
- Backend Framework: Spring Boot
- Database: PostgreSQL
- REST API: Standardized API for front-end interaction
- HOSTING: Render (Docker Image) | EC2
-
Clone the repository:
git clone https://github.com/q1xuanx/manage-money-backend.git cd manage-money-backend -
Configure the database:
- Update the
application.propertiesorapplication.ymlfile with your PostgreSQL database credentials.
- Update the
-
Build and run the application:
./mvnw clean install ./mvnw spring-boot:run
-
The API will be available at
http://localhost:8080.
API Endpoints: Hosting
- POST
/api/users/create: Create a new user. - GET
/api/users/: Retrieve a list of all users. - PUT
/api/users/update/{nameUser}/{total}: Update the total money lent for a specific user. - GET
/api/users/totals: Get the total amount of money lent for the current day. - GET
/api/users/remind/{idUser}: Send a reminder to a specific user.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -m 'Add a new feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
For any questions or suggestions, feel free to contact the developer:
Phạm Hoàng Nhân
Email: nhoang2929@gmail.com
🥉 Third place at HdBank Hackathon 2024 (WAG Team)