Giter Site home page Giter Site logo

messenger-clone's Introduction

Messenger Clone : Build The Real Messenger Clone | Next Js 14, React 18, Tailwind CSS, Next Auth, Prisma,Mongo, Pusher (2024)

This is the only one real messenger clone. use it to master your skills in Next js for free.

This course is right for you if you:

Our goals:

  • Build beautiful frontend design ui
  • Make high quality code

Core features

  • [ Learn how to start a next js project from scratch ]
  • [ Learn how to set up SEO to next js project ]
  • [ Learn how to set up a authentification with next js from scracth ]
  • [ Learn how to setup Tailwind Css with Next js ]
  • [ Learn how to build react components with tailwind and framer motion ]
  • [ Learn how to setup Prisma with Next js ]
  • [ Learn how to setup Mongo DB with next Js ]

Quick start

To spin up this example locally, follow these steps:

Clone

Use the git clone CLI to clone this template directly to your machine:

git clone https://github.com/sylvaincodes/messenger-clone.git

Set up env file

  1. You will first need to setup Next js Next js
   NEXT_PUBLIC_SEVER_URL=
  1. You will need prisma query Prisma

  2. You will need to setup mongo db MongoDb

   DATABASE_URL=
  1. You will need to setup pusher Pusher
   PUHSER_KEY=
  1. You will need to setup NEXT AUTH NextAuth

    NEXTAUTH_SECRET=
    
  2. You will need to setup Github App Github

   GITHUB_ID= 
   GITHUB_SECRET=

  1. You will need to setup Google App Github
   GOOGLE_CLIENT_ID= 
   GOOGLE_CLIENT_SECRET=

Run Project on local

   npm run dev

Project Dev Step

  1. Environment Setup

    • Install Nextjs project
    • Install Radix - shadcn
  2. Project Folder Structure

  3. Landing Page

    • SEO
    • SMO
    • Container - Colors - Fonts
    • UI template ( Header - Hero - Main - Footer )
  4. Setup Auth UI

       npm i next-auth@latest
       npm i next-auth@prisma-adapter 
       npm i -D @types/bcrypt 
       npm i bcrypt
       npx auth secret
    
       ```
    
  5. Setup Prisma and Mongo DB

       npm i -D prisma && npx prisma init
       npm install mongodb
       npx prisma db push
       npm @prisma/client
  6. Setup Next Auth API

       npm i next-auth@latest @next-auth/prisma-adapter bcrypt
       npm i -D @types/bcrypt
       
  7. Setup Home Layout ( Navigation - Navbar )

  8. Setup User conversations UI

  9. Create User Post ( Message - Image )

  10. Create Profil Drawer

  11. Settings Messages

  12. Setting Group chat

  13. Real time message with Pusher

Questions

If you have any issues or questions Send a comment on youtube or reach out to me on Discord

messenger-clone's People

Watchers

Adande Sylvain avatar

Forkers

mrvin100

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.