Skip to content

this project is for Blog project, the user can CRUD a Post, and find posts by category or author name ,add Category .

Notifications You must be signed in to change notification settings

RaoufSEZAR/MERN-BLOG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MERN-BLOG

this project is for Blog project, the user can CRUD a Post, and find posts by category or author name ,add Category .I coded this project using HTML5, CSS3, ECMA6, React, Context Api , Node.js, Express.js ,Javascript, MongoDb and Mongoose.

Post Model:

  • Add a Post
  • Delete Posts by the Post id
  • Find all Posts by the Category name
  • Update Posts By same Author

User Model:

  • Create a User account
  • Delete Posts by the Post id that has written
  • Find all Posts by the User name
  • Update User account
  • Update his Posts

Category Model:

  • Add a Category
  • Find all Posts by a Category name
  • Find all Categories

You can find Postman Collection in this link

To try this project in your machine

after cloning the project add DB by adding .env file to api file and write this:

MONGO_URL=mongodb://localhost:27017/YOUR_DATABASE_NAME
PORT=5000

and inside api file in the same path write this in the terminal:

npm install
npm start

and this message will show in terminal after connecting successfuly to db: **connected to db sccessfully** after that open client file and in the same path write this in the terminal:

npm install
npm start

SOME PICTURES FROM PROJECT

login

login

register

register

home page

home page

update user

update user

create post

create post

single post

single post

404 Page

404

About

this project is for Blog project, the user can CRUD a Post, and find posts by category or author name ,add Category .

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published