Coder Social home page Coder Social logo

blog-mern's Introduction

Blog Platform with MERN Stack

This project is a full-stack blog platform built using the MERN stack (MongoDB, Express.js, React, and Node.js). It features user authentication, post creation, comments, and a dashboard for managing posts and comments.

Features

  • User Authentication: Sign up, sign in, and sign out functionality.
  • Blog Posts: Users can create, update, and delete their blog posts.
  • Comments: Users can comment on posts and manage their comments.
  • Dashboard: A dashboard for users to manage their posts and comments, with additional admin privileges for managing all users.

Technology Stack

  • Frontend: React for the UI, Redux for state management, Tailwind CSS for styling.
  • Backend: Node.js with Express.js for the server, MongoDB for the database.
  • Authentication: Custom authentication system using JSON Web Tokens (JWT).
  • Deployment: (Specify your deployment platform and any CI/CD tools you use, if applicable)

Getting Started

Prerequisites

  • Node.js
  • MongoDB

Installation

Install backend dependencies:

  • cd blog-mern
  • npm install

Install frontend dependencies:

  • cd client
  • npm install

Create a .env file in the root directory and add your MongoDB URI and JWT secret key:

makefile

  • MONGO_URI=your_mongodb_uri
  • JWT_SECRET=your_jwt_secret

Start the backend server:

  • npm start

Start the frontend development server:

  • cd client
  • npm run dev

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.

blog-mern's People

Contributors

aaryan182 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.