Skip to content

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.

Notifications You must be signed in to change notification settings

Aure-en/lechat_api

Repository files navigation

Lechat (API)

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.

Features

  • 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

Installation

Requirements

  • Node
  • MongoDB database

Installation

Get the repository

$ git clone [email protected]:Aure-en/lechat_api.git
$ cd lechat_api
$ npm install

Set up environment variables

Create a .env file in the root directory and set the following variables

MONGODB_URI=yourdb
JWT_SECRET=yourJWTsecret

Start

$ npm run start

Technologies

  • Node.js
  • Express
  • MongoDB
  • Socket.io
  • View dependencies in package.json

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages