Git Product home page Git Product logo

whatsapp-clone's Introduction

AI-powered WhatsApp.

Make WhatsApp a little bit more exiciting by integratin GPT and DALL-E-3

Tech Stack · Deploy Your Own ·


Tech Stack

Deploy Your Own

You can deploy this app by setting up the following services and adding their environment variables:

  1. Run npm install to install dependencies.
  2. Run npm run dev. It will prompt you to log into Convex and create a project.
  3. It will then ask you to supply the CLERK_ISSUER_URL. To do this:
    1. Make a Clerk account.
    2. Copy both the CLERK_SECRET_KEY and NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY API keys into .env.local.
    3. Do steps 1-3 here and copy the Issuer URL. It should look something like https://some-animal-123.clerk.accounts.dev.
    4. Add CLERK_ISSUER_URL to your Convex Environment Variables Paste the Issuer URL as the value and click "Save".
  4. Add CLERK_HOST_NAME to your Convex Environment Variables as for the value paste the CLERK_ISSUER_URL's value
  5. From your CLERK account, under the WebHooks, add an endpoint which should look like this: https://your-convex-url.convex.site/clerk and select user.created user.updated session.created session.ended events. Copy the webhook secret and in your Convex Dashboard add this env variable CLERK_WEBHOOK_SECRET and paste the value
  6. Now your frontend and backend should be running and you should be able to log in but not support OpenAI features.
  7. Create an OpenAI account to get $5 of free credit or pay for your current account and get your OPENAI_API_KEY and add it to Convex Dashboard
  8. To enable video calling, create a ZEGOCLOUD account, create a project and select voice && video calls. Paste ZEGO_APP_ID and ZEGO_SERVER_SECRET to .env.local and save
  9. Now it should be up and running. Check out the TUTORIAL for a complete walk-through.

Thanks for your support

  • Like && Subscribe for more projects like this

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.