MarioBassem / chatcord

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chatcord

Chatcord is an implementation of Brad Traversy's application Chatcord with some added features:

  1. Authentication.
  2. Users can create their own rooms.
  3. Messages and rooms are stored.
  4. Users can search room messages.
  5. Room messages are indexed to make search queries efficient.

Installation

Use node package manager to install required node modules

npm i

Key Dependencies

  • Express Express is a minimal and flexible Node.js web application framework.

  • Sequelize Sequelize is a promise-based Node.js ORM that we'll use to handle the Postgresql database.

  • Passport Passport is an authentication middleware for Node.js that we'll use to handle user authentication.

Database Setup

Use your own database credentials in config/database.js

Usage

To run the server, execute:

npm start

Or, to run the server in development mode using nodemon, execute:

npm run dev

About


Languages

Language:JavaScript 52.9%Language:EJS 29.3%Language:CSS 17.8%