REST API for the scenemodels database
Description
This app contains REST endpoints to the FlightGear scenemodels database.
Development
Create a .env
file from .env.template
and fill in the properties.
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
When the app is running, you can view a list of endpoints at http://localhost:3000/api/
The OpenAPI model is available in JSON format at http://localhost:3000/api-json
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Build with
- Class-validator | Library for validation
- Eta | Embedded template engine
- Nestjs | Framework for Node.js server-side applications
- Passport | Authentication library
- PostgreSQL | Database server
- TypeORM | ORM library for Node.js
- Typescript | The Programming language used for this application