This is a complete full-stack responsive social media application that includes authentication, likes, and dark mode features. It is built using React, MongoDB, and MUI.
- Authentication: Users can create an account, log in, and log out of the app. Passwords are hashed for security.
- Likes: Users can like and unlike posts.
- Dark Mode: Users can switch between light and dark modes.
- Frontend: React and MUI
- Backend: Node.js and Express
- Database: MongoDB
- Clone the repository.
- Navigate to the root directory and run
npm install
. - Navigate to the
frontend
directory and runnpm install
. - Create a
.env
file in the root directory and add the following environment variables:
- MONGO_URI=<your_mongo_uri>
- SECRET_KEY=<your_secret_key>
- Run
npm start
in the root directory to start the server and client.
Contributions are welcome! Please fork the repository and create a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
...