MERN Odyssey is a modern blogging platform built with the MERN stack. Explore articles, read content, and interact with a vibrant community through comments and discussions.
- MongoDB: NoSQL database for storing articles and comments.
- Express.js: Web framework for Node.js for API and server-side logic.
- React: JavaScript library for building user interfaces.
- Node.js: JavaScript runtime for server-side code execution.
- Axios: HTTP client for making API requests.
- Read and Explore Articles: Browse through various articles and read engaging content.
- Comment on Articles: Share your thoughts and interact with the community.
- Discover Related Content: Find and explore articles on similar topics.
-
Clone the Repository:
git clone https://github.com/kalyankarsatish1234/MERN-Odyssey.git cd MERN-Odyssey
-
Backend Setup:
cd backend npm install
Create a
.env
file in thebackend
directory:MONGODB_URI=mongodb://localhost:27017/mern-odyssey PORT=7000
Run the backend server:
npm start
-
Frontend Setup:
cd ../frontend npm install npm run dev
Access the app at
http://localhost:5173
.
Command | Description |
---|---|
git clone <repo> |
Clone the repository. |
npm install |
Install dependencies for backend or frontend. |
npm start |
Start the backend server. |
npm run dev |
Start the React development server. |
npm run build |
Build the React app for production. |
- Fork the repository.
- Create a feature branch.
- Commit your changes.
- Push to the branch.
- Open a pull request.
For questions or feedback, reach out to [email protected].