/frontend

Terminal Web Application of the Secure Booking Service

Primary LanguageTypeScript

Code Icon by Bootstrap

Secure Booking Service - Frontend


Badge SAST Azure - CD

📁 Folder /src

This section explains the content of the important folder /src.

  • /overmind/*: Contains multiple run-time "storage" classes build with overmind. These store various information at run-time between each code execution.
  • /TerminalManager/index.ts: The heart of the web application. Contains the source code that handles all user in- and output.
  • /TerminalManager/commands/*: Each file represents an executable command.
  • /utils/ApiUtil.ts: Class and instance to communicate with the backend application.

🧑‍💻 Development Setup

This section describes the development setup to run the web application locally. Make sure that you have commit signing active for this repository git config commit.gpgsign true.

⚗️ Prerequisites

We have also set up a .devcontainer. Learn more

📁 Installing modules

Run npm ci to install all required node modules.

🛫 Start development

Run npm start at the root of the directory. Other available commands are

  • npm run preview: Spawns a small http-server to serve the dist folder on port 8080
  • npm run build: Compiles the current source code to a production ready version at dist

Icon by Bootstrap published under MIT licence.