GithubHelp home page GithubHelp logo

rixhabhftw / banter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devlinrocha/banter

0.0 0.0 0.0 988 KB

Banter is a feature-rich Discord clone built with React, Redux Toolkit, Next.JS, TypeScript, styled-components, Tailwind CSS, and uses Firebase to communicate with the back-end.

Home Page: https://banter-kappa.vercel.app

License: MIT License

JavaScript 1.05% TypeScript 98.95%

banter's Introduction

Banter - A Discord Clone

Banter is a feature-rich Discord clone built with React, Redux Toolkit, Next.JS, TypeScript, styled-components, Tailwind CSS, and uses Firebase to communicate with the back-end.

Join the conversation! ๐Ÿ‘ˆ

Features

  • Send messages with gifs, images, videos, or text.
  • Customize profile avatar, banner, bio, username, and more.
  • Use a guest account or register to save credentials.
  • Chat with people around the world in global server.
  • Create a server and invite others with a unique code.
  • Customize the server icon, name, and moderation content filter for gifs.
  • Create separate channels within the server to discuss different topics.
  • Create and customize different roles to assign members of the server.

Getting Started

Instructions to run the project locally are below! A Firebase account is required.

  1. Clone the repository:
git clone https://github.com/DevlinRocha/banter.git

# or

git clone [email protected]:DevlinRocha/banter.git
  1. Go into the directory and install the modules:
cd banter/

npm install

# or

yarn install
  1. Create a new project on Firebase.
    • Go to Firebase โ†’ Get Started / Go to console โ†’ Add project
    • You can name it anything you want. Analytics are not recommended.
  2. Enable Firestore.
    • Go to Firestore Database โ†’ Create database
  3. Register a web app for the project.
    • Go to Project Overview and select the </> (Web) icon.
    • You can name it anything. Hosting is not required.
  4. Take each config value given and create a new .env.local file in banter/ root folder.
    • Can be found in Project settings โ†’ General โ†’ Your apps โ†’ SDK setup and configuration โ†’ Config
  5. Paste the following into the new file. Replace each value with given values from Firebase web app config.
NEXT_PUBLIC_FIREBASE_API_KEY = apiKeyValue
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN = authDomainValue
NEXT_PUBLIC_FIREBASE_PROJECT_ID = projectIdValue
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET = storageBucketValue
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID = messagingSenderIdValue
NEXT_PUBLIC_FIREBASE_APP_ID = appIdValue
  1. Run the development server:
npm run dev

# or

yarn dev

Open http://localhost:3000 with your browser.

Development

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.