/cinemarestjson

Cinema REST API with json-server

Cinema REST API with JSON SERVER

Getting started

  1. Install JSON server with command:
    npm install -g json-server

  2. db.json file was created, so to watch file with json-server you have to use command:
    json-server --watch db.json

    copy of db.json was placed in db copy.json

  3. To get all routes and endpoint go to localhost:3000 in your browser.

Link to more information about json-server on github:
> https://github.com/typicode/json-server