WebPanel Fruteira API
API to manage Fruteira System
- NestJS - A progressive Node.js framework
- MySQL - Database
- Docker - Open platform for developing, shipping, and running applications.
- Yarn - Javascript Package manager
# Make sure you've yarn installed (https://yarnpkg.com/)
$ yarn
1 - Copy example.env to .env file and set up the values
# bring up database (Docker https://www.docker.com/ and Docker-Compose https://docs.docker.com/compose/ are necessary), it will bring the containers with mysql database and phpmyadmin, that can be acessed via browser at http://localhost:8080
$ docker-compose up
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
# seed database (create Admin User)
$ yarn seed:run
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
- Developer - Evaldo R Cardoso