API used to create a chat website where users can hang out in servers or privately. Made with Node.js, Express, MongoDB and Socket.io.
- Authentification (with Passport, and password hashed with bcryptjs)
- Authorization with JWT
- Servers can be created and divided in categories / channels
- Private messages between users
- Pagination for messages
- Real time messages and information updates with socket.io
- Node
- MongoDB database
$ git clone [email protected]:Aure-en/lechat_api.git
$ cd lechat_api
$ npm install
Create a .env file in the root directory and set the following variables
MONGODB_URI=yourdb
JWT_SECRET=yourJWTsecret
$ npm run start
- Node.js
- Express
- MongoDB
- Socket.io
- View dependencies in package.json