This repository contains the source code for an Instagram-like application, consisting of both the frontend and backend components.
- User authentication (login and registration)
- Photo sharing and posting
- Like and comment functionality
- User profiles with avatar support
- Responsive design for mobile and desktop
- Image uploading and storage on AWS S3
- Account verification via email
- Framework: React
- Styling: Tailwind CSS Shadcn
- State Management: Recoil
- Routing: React Router
- Framework: NestJS
- Database: PostgreSQL
- Authentication: JWT (JSON Web Tokens)
- Image Storage: AWS S3
To set up the project locally, follow these steps:
-
Clone the Repository
git clone https://github.com/username/instagram.git cd instagram
-
Initialize Submodules
git submodule update --init --recursive
-
Install Backend Dependencies
cd backend npm install
-
Install Frontend Dependencies
cd ../frontend npm install
-
Create a .env File
create a .env file as per the .env.example file and fill in the values
-
Run the Backend Server
npm run start:dev
-
Run the Frontend
npm run start