This is the phone management application
This docker compose contains
- MYSQL
- Phones API (node.js)
- Orders API (node.js)
If you want to run in development mode, execute this command:
> docker-compose up --build
Run following docker-compose
command to build and start the services and production environment:
> docker-compose -f docker-compose.yml up --build
Now you can acces:
- Phones API
http://localhost:8080/
- Orders API
http://localhost:8081/
- npm run test :
cd ./phones && npm run test && cd ../orders && npm run test
- npm run coverage :
cd ./phones && npm run coverage && cd ../orders && npm run coverage
- npm run readme :
node-readme && git add README.md && cd ./phones && npm run readme && cd ../orders && npm run readme
Package | Version | Dev |
---|---|---|
node-readme | ^0.1.9 | โ |
This readme file is generated using a ES6 template. It reads most of the data from package.json, list npm command, author and license, uses a customizable ES6template: .README.md and uses several badges.
Don't edit directly README.md
Contributions welcome; Please submit all pull requests against the master branch. If your pull request contains JavaScript patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!
Victor Pose