Git Product home page Git Product logo

bosnevinedzma / mern-blog Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 383 KB

Blog app using MERN and Tailwind.css

Home Page: https://mern-blog-bosnevinedzma.onrender.com/

JavaScript 99.30% HTML 0.25% CSS 0.45%
flowbite-react jsonwebtoken redux-toolkit firebase react-circular-progressbar cookie-parser react-icons react-quill unit-testing tailwind-scrollbar moment line-clamp framer-motion expressjs javascript mongodb mongoose nodejs reactjs tailwindcss

mern-blog's Introduction

README

MERN Blog Application

Welcome to the MERN Blog Application! This is a full-stack web application developed using the MERN (MongoDB, Express.js, React.js, Node.js) stack. The application provides a platform for users to create, read, update, and delete blog posts, as well as interact with other users through comments and likes.

Features

  • User Authentication: Users can sign up, sign in, and sign out securely. Passwords are encrypted before being stored in the database.
  • CRUD Operations: Admin can create, read, update, and delete their blog posts.
  • Commenting System: Users can comment on blog posts, edit their comments, and delete them. Admin can also edit and delete comments.
  • Like Functionality: Users can like blog posts and comments.
  • Admin Panel: Admin users have additional functionalities, including managing user accounts, deleting inappropriate content, and overviewing site analytics.
  • Responsive Design: The application is designed to be responsive and accessible on various devices and screen sizes.

Installation

To run the MERN Blog Application locally, follow these steps:

  1. Clone the repository:

    git clone <repository_url>
  2. Navigate to the project directory:

    cd mern-blog
  3. Install dependencies for the server:

    npm install
  4. Navigate to the client directory:

    cd client
  5. Install dependencies for the client:

    npm install
  6. Create a .env file in the root directory and specify environment variables:

    PORT=5000
    MONGO_URI=<your_mongodb_uri>
    SECRET_KEY=<your_secret_key>
    
  7. Start the development server:

    npm run dev
  8. Open your browser and visit http://localhost:3000 to view the application.

Technologies Used

  • Frontend: React.js, Redux Toolkit, Tailwind CSS
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Authentication: JSON Web Tokens (JWT)
  • State Management: Redux Toolkit
  • Deployment: Render (for deployment to production)

mern-blog's People

Contributors

bosnevinedzma avatar

Watchers

 avatar

mern-blog's Issues

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.