Skip to content

phamdung2209/snap-next

Repository files navigation

MERN Stack Project: Build and Deploy a Snap Chat App | Github Auth, Socket.io

Demo App

Some Features:

  • 🌟 Tech stack: MERN + TailwindCSS + Lucide + ...
  • 🎃 Authentication && Authorization with Github
  • 👾 Real-time messaging with Socket.io
  • 👌 Global state management with Next-Auth
  • 🐞 Error handling both on the server and on the client
  • ⭐ At the end Deployment like a pro for FREE!
  • ⏳ And much more!

Setup .env file

MONGO_DB_URI=...

AUTH_GITHUB_ID=...
AUTH_GITHUB_SECRET=...
AUTH_SECRET=...

CLOUDINARY_CLOUD_NAME=...
CLOUDINARY_API_KEY=...
CLOUDINARY_API_SECRET=...

PUSHER_APP_ID = ...
PUSHER_KEY = ...
PUSHER_SECRET = ...

Build the app

npm run build

Start the app

npm start