AppointDent 🦷🪥
AppointDent is a full-stack web application that allows residents of Sweden to manage their dentist appointments. It also helps dentists to organize their work. The system relies on a distributed system infrastructure that combines various architectural styles: namely microservices, pub-sub and client-server.

Table of Contents
- Introduction
- Tech-stack
- Pre-Requirements
- Architecture
- System’s Overview
- Continuous Integration
- Development team
Introduction
AppointDent is a system that allows residents of Sweden to book dentist appointments. A user can find available times and see the dentist on an integrated map.
AppointDent allows users to book appointments, cancel them, as well as receive notifications about their bookings. The dentists in our system make use of a calendar to navigate their appointments and manage their availability.
The solution is based on a distributed system infrastructure that combines various architectural styles, namely microservices, publish-subscribe and client-server.
Tech-stack
- TypeScript (client, server, services)
- Node.js (client, server, services)
- Vite.js (client)
- Express.js (server, services)
- Solid.js (client)
- Sqlite3 (
nodewrapper: better-sqlite3) [services] - Tailwind CSS (client)
Installation, Setup, and Running
The codebase is hosted in this monorepo with system components having their
subfolders (and README.md files with specific instructions).
The file contains the instructions on how to install all dependencies, it explains the structure of the directory, and it lists all the available scripts (with possible clarifications).
The following is a list of the available sub-folders:
- client: the client-side application.
- server: the server-side application (informally, the
APIGateway/Proxy). - services/admin-service: the additional service that adds an abstraction of an admin to observe the system’s state and trends.
- services/appointment-service: the service that handles all the appointment-related operations.
- services/dentist-service: the service that handles all the dentist-related operations.
- services/notification-service: the service that enables the system to send notifications to the users upon certain events.
- services/patient-service: the service that handles all the patient-related operations.
- services/session-service: a central service that handles all sessions of the users to enforce authentication and authorization.
- stress-testing: a folder that contains the scripts that are used to stress-test the system at a high load.
[!NOTE] The
servicesare not meant to be run individually, but rather as a part of theserverapplication. They can be run individually for testing purposes or for the ease of development.
Architecture
Our system is a distributed one and we have therefore decided to use a
Microservices-based architecture. This means that different services are to
be installed on different computers and are completely independent. The MQTT
(Message Queue Telemetry Transport) protocol is implemented as the primary
communication utility between the individual services of our system.
See our Component Diagram for a detailed overview of the
architecture in use.
Furthermore, several other decisions that have a substantial impact on the architecture that the team members dealt with during the project’s development may be traced with the ADRs.
System’s Overview
The following section aims to provide an overview of the system’s architecture, as well as the deployment strategy. The individual diagrams can observed when clicking on the dropdowns.