- Direct message (1vs1)
- Group chat
- Send image
- Login Google/Github
- π Next.js 14 (App router)
- βοΈ React 18
- π Typescript
- π¨ TailwindCSS - Class sorting, merging and linting
- π Next-auth - Easy authentication library for Next.js (GitHub provider)
- πΆ Husky & Lint Staged - Run scripts on your staged files before they are committed
- πΉ Icons - From Lucide
- π Dark mode - With next-themes
- πΊοΈ NextUI - For fast build web ui
- Using
git clone
git clone [https://github.com/Skolaczk/next-starter my-project-name](https://github.com/vanhoaltw/next-chat.git)
yarn
NEXT_PUBLIC_SITE_URL="" ## not required for development
NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION_ID="" ## not required for development
NEXT_PUBLIC_GITHUB_ID="" ## required for next-auth
NEXT_PUBLIC_GITHUB_SECRET="" ## required for next-auth
NEXT_PUBLIC_GOOGLE_ID="" ## required for next-auth
NEXT_PUBLIC_GOOGLE_SECRET="" ## required for next-auth
NEXTAUTH_SECRET="" ## required for next-auth
NEXTAUTH_URL="" ## Only required for localhost
PUSHER_APP_ID="" ## get here https://dashboard.pusher.com/apps/1753342/keys
PUSHER_APP_SECRET="" ## get here https://dashboard.pusher.com/apps/1753342/keys
NEXT_PUBLIC_PUSHER_APP_KEY="" ## https://dashboard.pusher.com/apps/1753342/keys
DB_URI="" ## Mongodb url
NEXT_PUBLIC_IMGBB_KEY="" ## get here https://api.imgbb.com/
You can start the server using this command:
npm run dev
and open http://localhost:3000/ to see this app.
If you liked the project, I will appreciate if you leave a star. ππ
Made by Hoa Nguyen