gusreinaos / dentistimo-authentication-handler

This respository module is made in order to ensure authentication for the Dentistimo project. For this, it provides our user with the functionality to be able to Sign In, Sign Up, Sign Out or authenticate an appointment booking.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

T2 AuthenticationHandler

This repository is in charge of ensuring authentication for the Dentistimo project. For this, it provides our user with the functionality to be able to Sign In, Sign Up, Sign Out or authenticate an appointment booking.

This platform has been developed using a Clean Architecture and referring to SOLID Principles. That is, group the different classes that we were using in different folders such as Infrastructure, Application and Domain in order to keep clear the sepparation of concerns. Having these folders helped us understand where each functionality of the program was located and thus maintain a certain order in the creation of the code.

πŸ›  Pre-Requirements

There are some technical requirements that need to be taken into consideration before having full access to the program's functionality, such as:

  • Install a suitable IDE for TypeScript (recommending Visual Studio Code)
  • Installing NodeJS V14.21.2 or greater
  • Installing Mongoose (MongoDB object-database mapper)

In order to install the required packages for the system to execute, make sure to run the following command:

npm i

Furthermore, this module establishes communication with others via MQTT via HiveMQ which is a standard messaging protocol. Having MQTT publish/subscribe protocol provides a scalable and reliable way to connect devices over the Internet

Some more information about the MQTT protocol can be read here

πŸš€ Getting Started

  • Would be to clone the repository from GitLab

HTTPS

git clone https://git.chalmers.se/courses/dit355/dit356-2022/t-2/T2-AuthenticationHandler.git

SSH

git clone git@git.chalmers.se:courses/dit355/dit356-2022/t-2/T2-AuthenticationHandler.git
  • Open the project in the selected IDE

  • Once the repository has been succesfully cloned in your machine and having installed all of the dependencies via npm. Open a terminal in your preferred IDE where this project has been opened in and run the following command to execute the module and leave it ready for communication with the others:

cd src/Infrastructure/Controllers/
npm run compile
node Main.js

πŸ‘€ Authors and acknowledgment

Aditya - @adityaa

Aleksey - @aleksey

Danesh - @daneshm

Andrea - @fulger

Kwabena - @kwabenaa

Anton - @antongol

Oscar - @scarr

About

This respository module is made in order to ensure authentication for the Dentistimo project. For this, it provides our user with the functionality to be able to Sign In, Sign Up, Sign Out or authenticate an appointment booking.


Languages

Language:TypeScript 99.5%Language:JavaScript 0.5%