Skip to content

cathalpaz/discord-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Slacord

Screenshot 2023-08-06 at 9 35 05 PM

Slacord is a clone of Discord, a free communications app that keeps you connected with friends, communities, and developers. Users stay connected to their friends via direct messaging and by joining servers they create together so they can chat in real time.

For more details of current features, visit our wiki page:

Home and Friends View

slacord-home

Server and Channel View

slacord-channels

Technologies used

Frontend

JavaScript React Redux HTML5 CSS3 Vite

Backend

Python Flask Postgres Socket.io

Cloud Services

AWS

Features

While using Slacord, users can:

  • Create an account and login, or sign in with a demo user.
  • Customize your own profile by being able to create and read their own profile pictures and server images.
  • Add friends, and have the ability to see if they are online or offline.
  • Create servers to send messages in, update servers and delete servers.
  • Direct message your friends to chat privately
  • Chat in slacord servers that the user is subscribed to, and direct message one another in real time.
  • Browse community slacord servers. These public servers can be joined by any user to chat in communities with shared interests.

Endpoints

REQUEST PURPOSE
PUT /api/channels/:id This fetch attempts to update the server's channel information based on channel id
DELETE /api/channels/:id This fetch will delete the channel based on channel's id
GET /api/channels/:id/messages This fetch will get all channel messages based on channel id
POST /api/channels/:id/messages This fetch will create channel messages based on channel id
PUT /api/channels/:id/messages/:messageId This fetch will edit a channel message based on the channel's id and message's id
DELETE /api/channels/:id/messages/:messageId This fetch will delete a channel message based on the channel's id and message's id
GET /api/@me This fetch will get all of the direct messages from the current logged in user
GET /api/@me/:id This fetch will get a single direct message based on the direct message's id
GET /api/@me/friends This fetch will get all of the current logged in user's friends
POST /api/@me/friends/:username/send-request This fetch will send a friend request to the given username
POST /api/@me/friends/:username/accept-request This fetch will accept a friend request to the given username
POST /api/@me/friends/:username/reject-request This fetch will reject a friend request to the given username
GET /api/@me/friends/:id This fetch will get all the direct messages of a friend based on friend id
POST /api/@me/:id This fetch will create a direct messages to a friend based on friend id
PUT /api/@me/:id This fetch will update a direct messages to a friend based on friend id
DELETE /api/@me/:id This fetch will delete a direct messages to a friend based on friend id
GET /api/servers This fetch will get all of the publically available servers
GET /api/servers/current This fetch will get all of the current logged in user's servers
GET /api/servers/:id This fetch will get the server's information based on server's id
GET /api/servers/:id/channels This fetch will get all the channels inside of a server, if you are an authenticated user
POST /api/servers/:id/channels This fetch will allow you to create a new server channel if you are the owner of the server
POST /api/servers/new This fetch will create a new server
DELETE /api/servers/:id This fetch will delete a server based on server's id
PUT /api/servers/:id This fetch will update a server based on server's id
GET /api/servers/:id/join This fetch will allow the current signed in user to join the public server
GET /api/servers/:id/leave This fetch will allow the current signed in user to leave the public server
GET /api/server-invites/current This fetch will get the current signed in user's server invites
POST /api/server-invites/:username/:serverId This fetch will send a server invite to the given username inside of the server based on server's id
PUT /api/server-invites/:id This fetch will allow you to accept or decline a server's invite based on server's id
POST /api/login This fetch attempts to login a user with the provided credentials. It returns an object representing the current user, if validation succeeds
DELETE /api/login/ This fetch attempts to log out the current user.

Future Goals

  • Create the frontend components for sending, accepting and declining a server invite (backend already complete)
  • Create a mobile friendly version

Contact Us

Jun "JP" Park Zachary Stallings Jason Murphy Cathal Paz
GitHub GitHub GitHub GitHub
LinkedIn LinkedIn LinkedIn LinkedIn
Wellfound Wellfound

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •