This is an efficient and scalable server-side applications created with Nest and TypeScript, to resolve the Amarofashion back-end-challenge.
You can read the challenge in english here.
Before you begin, ensure you have met the following requirements:
- You have installed the Node.js
- You have installed the Yarn
- You have installed the MongoDB
- You have installed the RabbitMQ
- Or you can use a Docker Container Platform
I strongly recommend you to use docker as an option to run this project.
# build
$ docker-compose build
# watch mode
$ docker-compose up
# build
$ docker-compose -f docker-compose.yml -f docker-compose.prd.yml build
# watch mode
$ docker-compose -f docker-compose.yml -f docker-compose.prd.yml up
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# unit tests
$ yarn run test
# test coverage
$ npm run test:cov
To contribute, follow these steps:
- Fork this repository.
- Create a branch:
$ git checkout -b <branch_name>
. - Make your changes.
- Run the test suite:
$ yarn run test
- Run the linter suite:
$ yarn run lint
- Fix the test and linter errors if exists.
- Commit your changes:
$ git commit -m '<commit_message>'
- Push to the original branch:
$ git push origin amarofashion-back-end-challenge/<branch_name>
- Create the pull request.
Alternatively see the GitHub documentation on creating a pull request.
Thanks to the following people who have contributed to this project:
If you want to contact me you can reach me at mateusmalaquiasdev@outlook.com.
This project uses the following license: MIT licensed.