This repository contains my own created API which can be used for adding, modification, viewing and deleting the posts in my blog.
- Clone this repository to your local machine.
git clone "https://github.com/Promo-13/Blog-API.git"
- Install the required dependencies using npm.
npm i
- For this project, you need 2 terminals.
- Run the command
node index.js
in one terminal. - Run the command
node server.js
in another terminal. - Then open localhost:3000 in your browser where you can view, add, edit and delete posts in the blog.