Snapchat clone built in Next.js + TypeScript + Tailwind CSS + Shadcn using MongoDB for storage.
Here are the steps to run the project locally.
Clone the repository
git clone https://github.com/Sai-Kumar-Kanuri/Snapchat-Clone.git
Install dependencies
cd snapchat-clone
npm install
Set up environment variables.
MONGODB_URI=your-mongodb-uri
AUTH_URL=http://localhost:3000/api/auth
AUTH_GITHUB_ID=your-github-client-id
AUTH_GITHUB_SECRET=your-github-client-secret
AUTH_SECRET=your-auth-secret
CLOUDINARY_CLOUD_NAME=your-cloudinary-cloud-name
CLOUDINARY_API_KEY=your-cloudinary-api-key
CLOUDINARY_API_SECRET=your-cloudinary-api-secret
Start the development server.
npm run dev
Now, your development environment is set up, and you can start working on the project locally.Open http://localhost:3000 with your browser to see the result.