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.
- Add a Post
- Delete Posts by the Post id
- Find all Posts by the Category name
- Update Posts By same Author
- 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
- Add a Category
- Find all Posts by a Category name
- Find all Categories
You can find Postman Collection in this link
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