- Clone repo
npm i
to install dependencies- Include config.env file inside /config/ folder
npm run start
to run server
localhost:3000/categories
GET/POST(provide name: string
and optional url image: string
) [GET]returns all or [POST]add a category
localhost:3000/categories/:id
GET/PUT/DEL a single category
localhost:3000/categories?name=Fruits
include parameters to search
Heroku server: https://vast-tor-12475.herokuapp.com