This is a social media application built using the MERN (MongoDB, Express.js, React, Node.js) stack. The application allows users to create, read, update, and delete posts, follow other users, like posts, and comment on posts.
- User Authentication (Signup, Login, Logout)
- Create, Read, Update, and Delete (CRUD) operations for posts
- Follow/Unfollow users
- Like/Unlike posts
- Comment on posts
- Responsive design
- Dark and Light mode
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JWT
- Deployment: Render
- Node.js
- MongoDB
-
Clone the repository
git clone https://github.com/vishalyadav0987/Food-App.git cd Food_App
-
Install backend dependencies:
cd .. npm install
-
Install frontend dependencies:
cd frontend npm install
-
Start the development servers:
- Backend server:
cd ../backend nodemon index.js
- Frontend server:
cd ../frontend npm start
- Backend server:
- MONGO_URI=your_mongodb_connection_string
- JWT_SECRET=your_jwt_secret
- CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
- CLOUDINARY_API_KEY=your_cloudinary_api_key
- CLOUDINARY_API_SECRET=your_cloudinary_api_secret
- Thread-App: Click here Live Application.
This application is deployed on Render. To deploy your own version:
- Create a new web service on Render and connect your GitHub repository.
- Add the necessary environment variables in the Render dashboard.
- Deploy the application.
- MongoDB
- Express.js
- React
- Node.js
- Render
If you have any questions or suggestions, feel free to open an issue or contact me at viahalyadav0987@gmail.com.