Accord - Like Discord but cooler.
Built with React, Redux, and Node.js.
Accord is an app, similar to Discord, but cooler.
Please star this repo to support development.
Looking for a full Discord API Clone? Then check out fosscord.
Setup
These setup instructions are in a primitive state, and may be improved in the future.
- Clone the repo.
- Generate SSH keys.
From app folder:
mkdir -p backend/keys ssh-keygen -t rsa -b 2048 -m PEM -f backend/keys/jwt
- Install npm packages.
From app folder:
cd frontend npm i cd ../backend npm i
- Configure
backend/.env.example
and rename it to.env
Features
- Server Channels
- Create channels
- Delete channels
- Message Management
- Server owners can delete any message
- Message author can delete and edit their own messages
- Member Management
- Kick members as the server owner
- Easily leave the server by right clicking the server
- Join servers with an invite code
- Server Management
- Create servers as you would in Discord
- Edit server name, and icon URL in the server settings
- Delete your server in the server settings
- User Management
- Manage your account by clicking the settings icon
- Change your username, and avatar
- Delete your user and prevent it from being used to login
- and more (of course)
Want a more basic version, that's more like Discord? https://github.com/codea-live/dclone
backend/.env
(dev with Docker)
EMAIL_ADDRESS="...@gmail.com"
EMAIL_PASSWORD="..."
MONGO_URI="mongodb://database/accord"
NODE_ENV="dev"
PORT=3000
WEBSITE_URL="http://localhost:4200"
backend/test/.env
(test without Docker)
API_URL="http://localhost:3001/api"
EMAIL_ADDRESS="...@gmail.com"
EMAIL_PASSWORD="..."
MONGO_URI="mongodb://localhost/accord-test"
NODE_ENV="dev"
PORT=3001
ROOT_ENDPOINT="http://localhost:3001"
WEBSITE_URL="http://localhost:4200"
Languages
TypeScript
89.5%
CSS
9.1%
HTML
0.7%
Pug
0.5%
JavaScript
0.1%