Skip to content

Discord clone coding with react JS, redux and firebase

Notifications You must be signed in to change notification settings

taejin5314/discord-clone

Repository files navigation

Project: Discord clone

This project is clone coding for discord by using react, redux and firebase.

1. Initializing project

npx create-react-app my-app --template redux: This command is creating react app as the name of my-app. It has the template of redux so that I could use reducer easily.

2. Login Page

I made login page using the discord logo, and firebase auth. As I enabled login with google account, users can login easily with their google account.

loginpage

When the user click sign in button,

googlelogin

3. Main Page

When the user logged in with his/her proper account, it will show the main page containing sidebar and chat.

mainpage

I used display flex and some css styling methods, so that it looks similar to discord.

When the user enter a message on input box and push the enter button, the message will be sent to firestore by using reducer.

4. Deployment

It was very easy to deploy by using firebase.

firebase init: Initializing firebase hosting server. I built my app in build folder, the addess should be build folder.
npm run build: Build the project in designated folder.
firebase deploy: Deploy the app.

5. Project Link

The below is the link to my discord clone project.

https://discord-clone-b40ec.web.app/
*Please make sure that you logout by clicking the setting button

Thank you.

About

Discord clone coding with react JS, redux and firebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published