Giter VIP home page Giter VIP logo

react-discord-clone's Introduction

React Discord Clone

Functional Discord Clone written in Typescript using React, Socket IO, NodeJS, Express and MySQL

** This project is NOT maintained, and does not reflect my current work **

  • This project was created as a learning experience in 2018
  • Not maintained, and backend no longer hosted anymore

View the live verison at -> http://ericellb.github.io/React-Discord-Clone

Check out the backend code! -> https://github.com/ericellb/React-Discord-API

Originally started as a simple chatting application to test my Frontend + Backend skills, magically turned into a Discord Clone.

layout image

Features

Implemented Features

  • Real time messaging using Socket IO
  • Local Authentication
  • Loads User Data upon login (Servers, Channels, Private Messages)
  • Creation and Joining Servers
  • Creation of Channels in a Server
  • Server Settings (Change name and delete)
  • Channel Settings (Change name and delete)
  • Persistent channel history
  • Pretty Print Code Blocks enclodes in three `
  • Private messaging
  • Timestamps for messages
  • Show current active users in given server
  • Convert to Typescript
  • Voice Chat (Buggy, but main features work)

License

Copyright Eric Ellbogen 2019

react-discord-clone's People

Contributors

andersmmg avatar ericellb avatar kafiln avatar whogopu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-discord-clone's Issues

This is really confusing

I am sure my password is of more than 6 character. Other than that, it is highlighting username field instead of password.
Screenshot from 2019-08-19 10-58-01

Https Support?

It only runs on http, and I have no clue how to code typescript, only regular javascript.

Duplicated Messages

When sending a private message to self, 2 of the same messages are sent. Not sure if you intended to allow people to send private messages to themselves in the first place.

I installed dompurify and I'm experience some errors that I don't know how to fix?

C:/Users/apple/Desktop/React-Discord-Clone-master/discord-clone/src/components/Messages/Messages.tsx
TypeScript error in C:/Users/apple/Desktop/React-Discord-Clone-master/discord-clone/src/components/Messages/Messages.tsx(14,23):
Could not find a declaration file for module 'dompurify'. 'C:/Users/apple/Desktop/React-Discord-Clone-master/discord-clone/node_modules/dompurify/dist/purify.cjs.js' implicitly has an 'any' type.
Try npm install @types/dompurify if it exists or add a new declaration (.d.ts) file containing declare module 'dompurify'; TS7016

12 | } from '@material-ui/core';
13 | import moment from 'moment';

14 | import DomPurify from 'dompurify';
| ^
15 | //import Code from 'react-code-prettify';
16 | import UserInfo from '../UserInfo/UserInfo';
17 | import { StoreState } from '../../reducers';

Permissions?

I was wondering are you planning to add permissions soon?

Error @ /#/dashboard

The dashboard is just infinitely looping at this:
image

I decided to take a look at the inspect console, and I found some errors:
image

Is this connected to an API?

It looks like you make reference to a Heroku app, is that a backend that you've put on GitHub or not? Because I can't find one... I'd like to know what it does and the endpoints, so I could connect it to my own API

Env variables

Hello, and excellent work on this project.

The line bellow is a good candidate for an env variable

const baseUrl = (process.env.NODE_ENV === 'development' ? 'http://localhost:3001' : 'https://simple-chat-apix.herokuapp.com');

Create two files .env and production.env

in .env put

REACT_APP_API_URL = http://localhost:3001

and in production.envput

REACT_APP_API_URL = https://simple-chat-apix.herokuapp.com

Or maybe just add this var via the settings in heroku interface

Then you'll only need to do

baseUrl = process.env.API_URL

What do you think ?

request info

Did not know where to put this at but can someone tell me what is the serer requirements to run 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.