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.
- Frontend: React, Vite
- Backend: Node.js, Express.js
- Database: MongoDB (connection string required in
.env)
-
Clone the repository:
git clone https://github.com/VanshBD/your-repo-name.git cd your-repo-name -
Navigate to the backend folder and install dependencies:
cd backend npm install -
Navigate to the frontend folder and install dependencies:
cd frontend npm install
-
Start the backend server:
cd backend npm start -
Start the frontend development server:
cd frontend npm run dev -
Visit your application: Open your browser and navigate to
http://localhost:3000(or the port specified by Vite).
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.
You can find the project repository at VanshBD GitHub.
This project is licensed under the MIT License - see the LICENSE file for details.