Code Monkey home page Code Monkey logo

clubhouse's Introduction

Clubhouse

Clubhouse clone written in Flutter using Firebase/Firestore and Agora services.

See our tutorial posts:

Part 1 - Setup Flutter project and create Clubhouse clone app UI

Part 2 - User login and registration with Firebase

Part 3 - Voice calling functionality with Agora

Preview

Dependencies

Getting started

2. Clone the repo.

$ git clone https://github.com/perpetio/clubhouse.git

3. Run flutter pub get.

4. Setup the Firebase App. Follow instructions:

  1. Create your own Firebase project.

  2. Once your Firebase instance is created, you'll need to enable Phone authentication.

  • Go to the Firebase Console for your new instance.
  • Click "Authentication" in the left-hand menu
  • Click the "sign-in method" tab
  • Click "Phone" and enable it
  1. Enable the Firestore Database
  • Go to the Firebase Console
  • Click "Firestore Database" in the left-hand menu
  • Click the Cloudstore "Create Database" button
  • Select "Start in test mode" and "Enable"
  1. Add the google-services.json to the folder android/app (for Android) and GoogleService-Info.plist into the root of your Xcode project to all targets(for IOS).

5. Setup the Agora. Follow instructions:

  • Create a developer account at agora.io. Once you finish the sign-up process, you are redirected to the dashboard
  • Navigate in the dashboard tree on the left to Projects > Project List.
  • Find your app ID on the Agora dashboard and copy it to your clipboard. Then, generate a temporary token from the Agora console page.
  • Replace the const in the settings.dart file in the /lid/core folder.
const APP_ID = '';
const Token = '';
const channelName = '';

6. Run the project using flutter run or using your IDE's tools.

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.