This is a proyect that solve the exam
This steps are compatibles over OS Unix based
- nodejs 15 or above
- npm 7 or above
- Copy and paste on the terminal the next command:
git clone https://github.com/ivano9/mcga-exam.git && \
cd mcga-exam && \
npm install
- Configure the
.env
file - Run npm
run start
or on mode developmentnpm run dev
- The api are running on
http:https://localhost:3000
Collections to populate at the momment:
- Orders
Run npm run seed
to populate the DB:
- Prefix:
/api/v1.0
Method | URI |
---|---|
GET | /orders |
GET | /orders/:id |
GET | /orders?:query |
POST | /orders |
PATCH | /orders/:id |
DELETE | /orders/:id |