Backend for chat buddy realtime chatting website, build using socket.io and Express.js (link)
- Socket.io
- Express.js
- Node.js
- Express validator
- jsonwebtoken
- mongoose
- Need git, node, npm installed
- Clone the repo
git clone <repo-link>
- Install dependencies
npm install
- Run server
npm start
Details: In this website I created my own authentication and session management logic using JWT tokens, Here is how the flow goes:
Here is the link for FRONTEND repo (link)