Social media app with features inspired by X (Twitter).
- User profile
- Users following each other
- Who to follow suggestions
- Posting messages with photos
- Newsfeed with posts from followed users
- Liking posts
- Commenting on posts
- Signup / Login
- React
- React-Router
- TanStack Query
- MaterialUI
- Express.js
- MongoDB
- Mongoose
- jsonwebtoken
- Mocha, Chai, Sinon
- formidable
Run the following command to clone the repo:
git clone https://github.com/DraganAleksic99/social-media-app.git
Navigate to the frontend directory:
cd /frontend
Install dependencies:
npm install
Start the development server:
npm run dev
Navigate to the backend directory:
cd /backend
Install dependencies:
npm install
Fill out secrets:
cp .env.example .env
You can now visit http://localhost:5137.