- Open terminal
- create a new folder using
mkdir cdinto folder- run
git clone git@github.com:smadeira22/RESTfulAPI.git cdinto RESTfulAPI folder- run
code ., this will open the applciation in VS code
- create a new folder using
- On the terminal run:
npm install
- On the terminal type:
cd servernpm run dev, app runs on 4000
- On the web browser open
- GET /phones
- GET /phones/:id
- POST /phones
- PATCH /phones/:id
- DELETE /phones/:id