7473456317e3f862d4346e54e4fce637372d8519
Reviewed-on: https://gitea.maskantech.in/gitea_admin/aeroresolve_backend/pulls/6 Reviewed-by: Syed Waseem khadri Rafai <waseem.khadri@maskatech.com>
Aero Resolve - Backend
This is the backend REST API powered by NestJS.
🚀 Getting Started
Prerequisites
- Node.js (v18+)
- npm
Installation
- Navigate to the backend directory:
cd backend - Install the dependencies:
npm install
Environment Files
The project uses environment-specific files. The npm scripts automatically set NODE_ENV so the correct file is loaded (e.g. .env.dev).
.env.local.env.dev.env.uat.env.test
Running the Application
To start the server, use the command corresponding to your target environment:
# Local environment
npm run local
npm run start:local # (watch mode)
# Development environment
npm run dev
npm run start:dev # (watch mode)
# UAT environment
npm run uat
npm run start:uat # (watch mode)
# Test environment
npm run test
Database Seeding
To run the master data seed scripts for a specific environment:
npm run seed:local
npm run seed:dev
npm run seed:uat
npm run seed:test
Languages
TypeScript
99.7%
JavaScript
0.3%