This is a REST API made as an exersices proposal for process customers orders. The project store data in memory.
The project was built using:
For run this project you must have Node.js installed.
Now clone this project and then follow the commands below to run it.
- Move into project folder
cd api-orders
- Install dependencies
yarn
or
npm install
- Start the server
yarn dev
or
npm run dev
After that, you must have the project running at http://localhost:3030/
and the documentations at http://localhost:3030/docs
- Run unit test
yarn test
or
npm run test