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
- Socket.io
- TypeScript
- Vite
- React.js
- Mantine
- Socket.io
- JavaScript
- Express.js
- Passport
- 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
- run
git clone
git clone https://github.com/enzofalone/chat-app.git
- install npm packages using pnpm in both
/api
and/ui
directories
cd /api && pnpm i
cd /ui && pnpm i
- create
.env
file using.env.template
in/api
and insert your own Google OAuth access keys inGOOGLE_CLIENT_ID
andGOOGLE_CLIENT_SECRET
https://developers.google.com/identity/protocols/oauth2
- run two terminals to start both
api
andui
local servers
cd /api && pnpm run dev
cd /ui && pnpm run dev