Code Monkey home page Code Monkey logo

azadparinde's Introduction

Blog Website

Overview

This project is a full-stack blog website that allows users to create, edit, and delete posts. The project features user authentication and verification, built using modern web development technologies including HTML, CSS, JavaScript, React.js, Node.js, Express.js, and MongoDB.

Features

  • User authentication and verification
  • Create, edit, and delete blog posts
  • Responsive design
  • RESTful API

Technologies Used

  • Frontend:
    • HTML
    • CSS
    • JavaScript
    • React.js
  • Backend:
    • Node.js
    • Express.js
  • Database:
    • MongoDB
  • Authentication:
    • JWT (JSON Web Tokens)

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)
  • MongoDB (local or Atlas)

Installation

Backend

  1. Clone the repository:

    git clone https://github.com/yourusername/blog-website.git
    cd blog-website/backend
  2. Install dependencies:

    npm install
  3. Create a .env file in the backend directory and add your MongoDB URI and JWT secret:

    MONGO_URI=your_mongodb_uri
    JWT_SECRET=your_jwt_secret
  4. Start the backend server:

    npm start

Frontend

  1. Navigate to the frontend directory:

    cd ../client/my-app
  2. Install dependencies:

    npm install
  3. Start the React development server:

    npm start

Project Structure

blog-website/
├── backend/
│   ├── controllers/
│   ├── models/
│   ├── routes/
│   ├── middlewares/
│   ├── .env
│   ├── server.js
│   └── package.json
└── frontend/
    ├── public/
    ├── src/
    │   ├── components/
    │   ├── pages/
    │   ├── services/
    │   ├── App.js
    │   └── index.js
    ├── .env
    └── package.json

azadparinde's People

Contributors

07shreyansh 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.