Skip to content

VanshBD/BlogProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Blog Project

This is a blog project built using Node.js, Express.js, React, and Vite. The project allows users to create, read, update, and delete blog posts.

Table of Contents

Technologies Used

  • Frontend: React, Vite
  • Backend: Node.js, Express.js
  • Database: MongoDB (connection string required in .env)

Installation

  1. Clone the repository:

    git clone https://github.com/VanshBD/your-repo-name.git
    cd your-repo-name
  2. Navigate to the backend folder and install dependencies:

    cd backend
    npm install
  3. Navigate to the frontend folder and install dependencies:

    cd frontend
    npm install

Usage

  1. Start the backend server:

    cd backend
    npm start
  2. Start the frontend development server:

    cd frontend
    npm run dev
  3. Visit your application: Open your browser and navigate to http://localhost:3000 (or the port specified by Vite).

Environment Variables

Create a .env file in your backend folder and add your MongoDB connection string:

MONGO_URI=your_mongo_db_connection_string

Make sure to replace your_mongo_db_connection_string with your actual MongoDB connection URI.

GitHub Repository

You can find the project repository at VanshBD GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Releases

No releases published

Packages

No packages published