Skip to content

Chat app created with MongoDB, Express.js, React.js, Node.js, and Socket.io

Notifications You must be signed in to change notification settings

enzofalone/chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat-app

This is a chat app heavily inspired in both Discord and the Slack application.

It forces users to create their accounts using Google OAuth 2.0

Live preview: soon

Technologies Used

Frontend

  • Socket.io
  • TypeScript
  • Vite
  • React.js
  • Mantine

Backend

  • Socket.io
  • JavaScript
  • Express.js
  • Passport

Features

  • Real-time messaging using WebSockets
  • Delivery system (to check whether your message was received by the server)
  • Google OAuth 2.0
  • Toasts
  • Drag & Drop order of channels and workspaces
  • Joining to other workspaces via URL links

How to Run

  1. run git clone
git clone https://github.com/enzofalone/chat-app.git
  1. install npm packages using pnpm in both /api and /ui directories
cd /api && pnpm i
cd /ui && pnpm i
  1. create .env file using .env.template in /api and insert your own Google OAuth access keys in GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET
https://developers.google.com/identity/protocols/oauth2
  1. run two terminals to start both api and ui local servers
cd /api && pnpm run dev
cd /ui && pnpm run dev

About

Chat app created with MongoDB, Express.js, React.js, Node.js, and Socket.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages