GithubHelp home page GithubHelp logo

priyanshu88 / mern-blog Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 609 KB

Full stack blogging website with user login, logout functionality where user can create and edit there post content.

License: Apache License 2.0

JavaScript 79.03% HTML 8.04% CSS 12.93%
bcryptjs context-api cookie-parser cors express-js jwt mongodb mongoose multer nodejs nodemon react-quill react-router-dom reactjs

mern-blog's Introduction

logo

MERN Blog

MERN Blog is full stack MERN (MongoDB) stack blog website where user can create their account, login and write their post on website with their comprehensive content and edit any time when required. It uses JWT for authetication, MongoDB for user data storage, React-Router-DOM for creating routes.

📔 Table of Contents

🌟 About the Project

📷 Screenshots

  • Application Home page
image

  • Content Page
image

  • Edit Page
image

📹 Demo

IMAGE ALT TEXT HERE

👾 Tech Stack

Client
Server
Database

🎯 Features

  • JWT Authentication
  • Creat Post Functionality
  • Edit Post Feature

🎨 Color Reference

Color Hex
Primary Color #040810 #040810
Secondary Color #393E46 #393E46
Accent Color #00ADB5 #00ADB5
Text Color #EEEEEE #EEEEEE

🔑 Environment Variables

To run this project, you will need to add the following environment variables to your .env file

JWT_SECRET

MONGODB_URI

🧰 Getting Started

‼️ Prerequisites

  • Install Node JS in your computer Here
  • Create MongoDB account Here
  • Learn about JWT Here

⚙️ Installation

Backend:

Install the project with npm Create a api folder

npm init

then run:

npm install  --save

Install other dependencies from api/package.json.

Frontend:

Install the project with npm Create a client folder

npx create-react-app my-project

Install other dependencies from client/package.json.

🧪 React-Router-DOM, MongoDB

  1. Install React-Router-DOM using npm install react-router-dom.

  2. Create account on Atlas website, create a project and from the connect option copy the Nodejs URI and use it.

🏃 Run Locally

Create a folder Clone the api project

https://github.com/Priyanshu88/MERN-Blog/api

then clone the client project

https://github.com/Priyanshu88/MERN-Blog/client/

Go to

https://github.com/Priyanshu88/MERN-Blog/api/

run npm install and type node index.js then go to

https://github.com/Priyanshu88/MERN-Blog/client

run npm install and type npm run start

Learn More

This project uses react-quill to edit the post.

👋 Contributing

Contributions are always welcome!

🤝 Contact

Priyanshu Pandey - @twitter_handle - [email protected]

Project Link:

  1. https://github.com/Priyanshu88/MERN-Blog/
  2. https://github.com/Priyanshu88/MERN-Blog/

mern-blog's People

Contributors

priyanshu88 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.