This project is a test for Base2.
$ npm install -g pnpm
$ pnpm install- Install dependencies.
- Create an
.envfile following the.env.examplefile - Run
docker compose upto create the necessary services (MongoDb), its mandatory to have the mongo envs filled - Run the app.
- If you wish you can seed the databases with data with the
seedendpoint.
$ pnmp run build# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod# unit tests
$ pnpm run test
# test coverage
$ pnpm run test:covYou can find a postman collection with funtional tests.
This tests work when you db is empty
Integration testing.postman_collection.json