Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

VicDario/base2-technical-test-back

Repository files navigation

Description

This project is a test for Base2.

Requirements

Installation

$ npm install -g pnpm
$ pnpm install

Before run the app

  1. Install dependencies.
  2. Create an .env file following the .env.example file
  3. Run docker compose up to create the necessary services (MongoDb), its mandatory to have the mongo envs filled
  4. Run the app.
  5. If you wish you can seed the databases with data with the seed endpoint.

Build

$ pnmp run build

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Test

# unit tests
$ pnpm run test


# test coverage
$ pnpm run test:cov

Test Postman

You can find a postman collection with funtional tests. This tests work when you db is empty Integration testing.postman_collection.json

About

This repository is my technical test for the company BaseDos

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors