Giter Club home page Giter Club logo

next-chat's Introduction

thumbnail

πŸŽ‰ Features

  • Direct message (1vs1)
  • Group chat
  • Send image
  • Login Google/Github

Technologies

  • πŸš€ 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

🎯 Getting started

1. Clone this template in one of three ways

  1. Using git clone
git clone [https://github.com/Skolaczk/next-starter my-project-name](https://github.com/vanhoaltw/next-chat.git)

2. Install dependencies

yarn

3. Set up environment variables

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/

4. Run the dev server

You can start the server using this command:

npm run dev

and open http://localhost:3000/ to see this app.

❀️ Support

If you liked the project, I will appreciate if you leave a star. 🌟😊

Made by Hoa Nguyen

next-chat's People

Contributors

vanhoaltw avatar

Stargazers

Serhat avatar Mehmet Seven avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.