1d0c41bf8caf1f9fdc36d25b9a35a5d5367e3b8a
Reviewed-on: https://gitea.maskantech.in/gitea_admin/aeroresolve_backend/pulls/3
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:
- .env
- .env.dev
- .env.test
The npm scripts automatically set NODE_ENV so the correct file is used.
Run locally
Start the local development server:
npm run start
Start the development server in watch mode:
npm run dev
Run tests
Run the test suite with the test environment:
npm test
Build commands
Build for development:
npm run build:dev
Build for test:
npm run build:test
Useful scripts
- npm run start - starts the app using the local development environment
- npm run dev - starts the app using .env.dev
- npm test - runs tests using .env.test
- npm run build - builds the app for development
- npm run build:dev - explicit development build
- npm run build:test - explicit test build
Languages
TypeScript
99.7%
JavaScript
0.3%