The FinanzTrack API serves as the backend for the FinanzTrack financial tracking application, providing endpoints for managing financial data. Whether you're developing additional features for FinanzTrack or integrating it into your own project, this API offers a flexible foundation.
Author: BAKERA Thierry bakerathierry@gmail.com
- Node.js installed on your machine
- Postgresql installed and started on your machine :
- create a database
- create a user with a password and grant access to the database
- Clone the repository:
git clone https://github.com/CREDO23/finanzTrack-fr.git
- Install dependencies
cd finanzTrack-bc
pnpm install
- Set up environment variables:
Copy the
.env.example
file to.env
and provide the necessary configuration values, including your PostgreSQL connection string. - Start the server
pnpm start:dev
The API should now be running at http://localhost:6500.
- [POST] api/v1/auth/register : Register a new account
- [POST] api/v1/auth/login : Login an existing account
- [GET] api/v1/transactions/ : Get a list of all transactions
- [POST] api/v1/transactions/ : Create a new transaction
- [GET] api/v1/transaction_categories/ : Get a list of all transaction categories
- [POST] api/v1/transaction_categories/ : Create a new transaction category
- [GET] api/v1/transaction_category_types/ : Get a list of all transaction category types
We welcome bug reports, feature requests, and pull requests.