This is a Next.js project bootstrapped with create-next-app.

Live Website

Chat App

Full stack Chat application created with: Next.js, Next-auth, Pusher, Tailwind css, Typescript, Prisma, MongoDb, Cloudinary. It has all the feauteres, authentication, live messaging, updadting profile, deleting conversations and etc.

Features

  • Authentication
  • live messaging
  • upload images
  • send images
  • update profile
  • Delete conversations

Installation

Follow these steps to install and set up the project:

  1. Install project dependencies by running the following command:

npm install

  1. Create a new file named .env in the root directory of the project.

  2. Add the following configuration variables to the .env file:

  • DATABASE_URL=<YOUR_DATABASE_URL>

  • NEXTAUTH_SECRET='<NEXTAUTH_SECRET>'

  • GOOGLE_CLIENT_ID=<YOUR_GOOGLE_CLIENT_ID>

  • GOOGLE_CLIENT_SECRET=<YOUR_GOOGLE_CLIENT_SECRET>

  • GITHUB_ID=<GITHUB_ID>

  • GITHUB_SECRET=<YOUR_GITHUB_SECRET>

  • NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME="<YOUR_CLOUDINARY_NAME>"

  • NEXT_PUBLIC_PUSHER_APP_KEY="<YOUR_NEXT_PUBLIC_PUSHER_APP_KEY>"

  • PUSHER_APP_ID="<YOUR_PUSHER_ID>"

  • PUSHER_APP_SECRET="<YOUR_PUSHER_APP_SECRET>"

License

You are free to use, modify, and distribute this software for any purpose.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.