This Social Media Application is a dynamic platform built with ReactJS, NodeJS, TailwindCSS, and MongoDB. It features user authentication using bcrypt.js, a theme-switching capability, and friend management functionalities to enhance user engagement.
- User Authentication: Secure registration and login using bcrypt.js for strong authentication.
- Theme Switching: Offers both dark and light modes for personalized user experience.
- Friend Management: Allows users to manage friends, share posts, and engage through comments.
Check out the live application here.
You can find the source code on GitHub here.
To run this project locally, follow these steps:
- Node.js
- npm or yarn
- MongoDB
git clone https://github.com/Atul-me/SnaapGram.git
cd social-media-application
-
Navigate to the
backend
directory.cd backend
-
Install dependencies.
npm install
-
Create a
.env
file in thebackend
directory and add the following environment variables:NODE_ENV=development PORT=5000 MONGO_URI=your_mongo_connection_string JWT_SECRET=your_jwt_secret
-
Start the backend server.
npm run dev
-
Navigate to the
frontend
directory.cd frontend
-
Install dependencies.
npm install
-
Start the frontend server.
npm start
The application is deployed on Vercel. To deploy your own instance, follow Vercel's deployment documentation and connect it to your GitHub repository.
- Frontend: ReactJS, TailwindCSS
- Backend: NodeJS, ExpressJS
- Database: MongoDB
- Authentication: bcrypt.js
- Deployment: Vercel
We welcome contributions! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License.