This Respository is created for the MERN Stack Project Implementation of Blog Management System By Pritesh Alias Vaibhav Vikas Naik
Navigate to Front-end Folder and Execute the Below Commands
use yarn
and node v20.12.2
yarn # to Inialise with Required Packages
yarn start # To Start web-server on port 3000
Alternatively can also use npm
npm install # to Inialise with Required Packages
npm start # To Start web-server on port 3000
Navigate to Back-end Folder and Execute the Below Commands
use yarn
and node v20.12.2
yarn # to Inialise with Required Packages
node server.js # To Start server on port 4000
Alternatively can also use npm
and nodemon
npm install # to Inialise with Required Packages
nodemon server.js # To Start server on port 4000
- Add User
http://localhost:4000/user/login
- User Registration
http://localhost:4000/user/register
- List All Users in Database
http://localhost:4000/user/all
- Add Category
http://localhost:4000/category/add
- List All Category in Database
http://localhost:4000/category/display
- Delete Category
http://localhost:4000/category/delete
- Add Blog
http://localhost:4000/blog/create
- Display Blog Based on User_id
http://localhost:4000/blog/user
- Delete Blog Blog Based on User_id
http://localhost:4000/blog/delete
- Update Specific Blog
http://localhost:4000/blog/edit
- Search Blog Based on Title
http://localhost:4000/blog/search
- Search Blog Based on Blog_id
http://localhost:4000/blog/id
- List All Users in Database
http://localhost:4000/blog/view
-
The Backend Express JS would run on Port
4000
while React would host the Page onPort 3000
-
The MySQL Database Use should be hosted on Port
3306
, with usernameroot
with passwordmanager
with Databasehackathon
as configured as in db.sql file located in database folder
Before contributing please, lint and prettify your code
npm install --include=dev
npm run lint
npm run format