Developed by: Eranda Samarasinghe
This repository contains a full-stack social media platform built with React, Node.js, Express, MongoDB, and Tailwind. It offers an interactive and personalized experience, featuring secure JWT authentication, image uploads via Cloudinary, and efficient data fetching with React Query. Key functionalities include creating, liking, and commenting on posts, editing profiles, and following users
The main objectives of this application are to:
- Implement secure user authentication using JWT
- Provide full post management functionality, including creating, deleting, liking, and commenting
- Enable profile customization with options to edit details and upload images
- Ensure efficient data fetching and caching with React Query for optimal performance
- Enhance user engagement with suggested users and real-time notifications
Core technologies used:
- MongoDB, Express, React, Node.js JavaScript, Tailwind CSS, JWT
- Set up environment variables:
MONGO_URI = your_mongo_uri
PORT = 5000
JWT_SECRET = your_secret_key
NODE_ENV = development
CLOUDINARY_CLOUD_NAME = your_cloudinary_cloud_name
CLOUDINARY_API_KEY = your_cloudinary_api-Key
CLOUDINARY_API_SECRET = your_cloudinary_api_secret- Clone repository:
git clone https://github.com/dev-eranda/mern-twitter-application
- Install dependencies:
npm install
- Start development server:
npm start
- Open http://localhost:5173 with your browser to see the result.