Backend Coding Challenge

To acomplish this challenge I used:

  • A backend developed with Node.js
  • MongoDB to persist the data
  • Mongoose for object modeling
  • Joi to validate request data
  • Jest to test the endpoints

API Docs

The API docs are hosted here: https://documenter.getpostman.com/view/3658900/TWDUoxNQ

Deployment

The API is deployed here: https://kincarta.herokuapp.com/

Environment Variables

DB_CONNECTION: MongoDB connection URI

Run the project (development)

npm install && npm run dev

Execute the tests

npm install && npm test