Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

f4irline/chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat application

A full-stack Angular/Express chat application made as a school project.

Image of the chat Image of selecting a room Image of the chat in a room

Setup

Prerequisites

  1. Node.js (14.x should work at the very least) and npm

How to run

  1. Run npm ci in the root dir
    • This will install the dependencies for the client and the server
  2. Run npm start
    • This will start the client and the server concurrently
  3. Go to http://localhost:4200

Technologies

Frontend

  • Angular, RxJS
  • @auth0/angular-jwt
    • Provides HttpInterceptor to attach JSON Web Token to all HttpClient requests
  • NgRx
    • State management

Backend

  • Node.js, Express, TypeScript
  • MySQL for deployment, SQLite for development
  • Passport
    • Provides functionality for JWT authentication
  • Sequelize
    • Provides ORM for the database
  • Socket.io
    • Provides easy API for WebSocket connection, rooms etc.