7. Things BE v1 - rolling-scopes-school/RS-Short-Track GitHub Wiki

Folder Name Branch Coefficient
things-v1 things-v1 1.5

Things BE v1

Your task is to implement small CRUD BE for 'Things'

API that should be supported

GET api/v1/things -> list of all things
POST api/v1/things -> create a new thing
PUT api/v1/things/:id -> update an existing thing by its own id
DELETE api/v1/things/:id -> delete an existing thing by its own id

  1. What is a thing?
Object {
 id: 'String, uniq, mandatory',
 name: 'String, mandatory',
 /* Anything you wish */
}
  1. All things should be stored in the fs (using JSON). (Using npm libs is strictly forbidden)
  2. App should support cors
  3. App should work with application/json
  4. There should be logging in place
  5. App should be written the way that it will be easy to add a v2 API later on
  6. Port that used by the app should be configured in the .env file or 3000 by default
  7. Using nodemon/pm2 for development is mandatory
  8. You shoud create a readme that tells how to run your project and link to Heroku if exists

Extra:

  1. Deploy to Heroku 15p