This repository contains the backend API for the MoneyFlow financial dashboard application. Built with Express.js, it provides robust endpoints for managing user financial data, including transaction tracking, budgeting, and generating financial reports. It utilizes PostgreSQL for data storage and Prisma ORM for efficient database interactions.
- Data Management: Efficient handling of user data with Postgres and Prisma.
- API Endpoints: RESTful API endpoints for various operations.
- Error Handling: Comprehensive error handling and logging.
- Scalability: Designed to scale with your application's needs.
- Documentation: Well-documented code and API endpoints.
GET /
: Retrieve a welcome message to the server.
GET /entries
: Retrieve all entries.GET /entries/:id
: Retrieve an entry by ID.POST /entries
: Create a new entry.PUT /entries/:id
: Update a entry by ID.DELETE /entries/:id
: Delete a entry by ID.
GET /ai
: Retrieve all of the chat history with ai.POST /ai
: Chat with the AI.
To install the project, follow these steps:
git clone https://github.com/shravzzv/MoneyFlow-server
cd MoneyFlow-server
npm install
npm start
If you'd like to contribute, follow these steps:
-
Fork the repository on GitHub.
-
Clone your fork locally.
git clone https://github.com/shravzzv/MoneyFlow-server cd MoneyFlow-server npm install npm start
-
Create a new branch for your feature or bug fix.
git checkout -b feature-or-bug-fix-name
-
Make your changes, commit them, and push them to your fork.
git add . git commit -m "Your commit message here" git push origin feature-or-bug-fix-name
-
Open a Pull Request on GitHub, comparing your branch to the original repository's
main
branch.
Find a bug or want to request a new feature? Please let us know by submitting an issue.
This project is licensed under the MIT License - see the LICENSE file for details.