A progressive Node.js framework for building efficient and scalable server-side applications.
The Finance Management API is a comprehensive solution for personal and business financial tracking. Built with NestJS, this API provides robust endpoints for managing:
- User accounts and authentication
- Financial transactions with categories
- Budget planning and tracking
- Financial reporting and analytics
This RESTful API serves as the backend for finance management applications, providing secure and scalable financial data management.
# Install dependencies
$ npm install
# Copy environment template and configure
$ cp .env.example .env
#Then edit .env file with your database credentials and other configurations# Start development database with Docker (with data persistence)
$ npm run db:dev:up
# Start test database (without data persistence)
$ npm run db:test:up
# Apply database migrations
$ npm run prisma:dev:deploy
# Generate Prisma client (if needed)
$ npm run prisma:generate# Development mode
$ npm run start:dev
# Production build
$ npm run build
# Production mode
$ npm run start:prod# unit tests
$ npm run test
# All category tests, for example
$ npm test -- --testPathPattern=categories
# Specific tests
$ npm test -- categories.service.spec
$ npm test -- categories.controller.spec
# test coverage
$ npm run test:covThe API is documented using Swagger UI. When the application is running, access the documentation at:
http://localhost:3000/api/docs/
This provides interactive documentation where you can explore and test all available endpoints.
- NestJS - Progressive Node.js framework
- Prisma - Next-generation ORM
- PostgreSQL - Relational database
- Swagger - API documentation
- JWT - Authentication
- Class Validator - Input validation
There is still no contributing police, but please, feel free to submit a Pull Request.
This project is MIT licensed.