Skip to content

ivano9/mcga-exam

Repository files navigation

MCGA First Exam

This is a proyect that solve the exam

Running the api rest

This steps are compatibles over OS Unix based

Minimun requirements

  • nodejs 15 or above
  • npm 7 or above

Execute

  1. Copy and paste on the terminal the next command:
git clone https://github.com/ivano9/mcga-exam.git && \
cd mcga-exam && \
npm install
  1. Configure the .env file
  2. Run npm run start or on mode development npm run dev
  3. The api are running on http:https://localhost:3000

Seeding

Collections to populate at the momment:

  • Orders

Run npm run seed to populate the DB:

API Resources

  • Prefix: /api/v1.0
Method URI
GET /orders
GET /orders/:id
GET /orders?:query
POST /orders
PATCH /orders/:id
DELETE /orders/:id

API Documentation

Dployed on Heroku

Author

Iván Giovanazzi

Releases

No releases published

Packages

No packages published