- clone this repository
- install package dependency via
npm install
command - Create
.env
envoirment variables file or mv.env.example
.env
- If you need run application on development mode run
npm run dev
- If you need run application on production mode run
npm start
_id, name, descrption, updatedAt, createdAt
- GET
/api/categories
- GET
/api/categories/:id
- POST
/api/categories
- PUT
/api/categories/:id
- DELETE
/api/categories/:id
_id, name, text, tags, category, updatedAt, createdAt
- GET
/api/blogs
- GET
/api/blogs/:id
- POST
/api/blogs
- PUT
/api/blogs/:id
- DELETE
/api/blogs/:id