hfs

This file is mostly aimed to developers.

Building instructions

  1. Install Node.js 18+
  2. Install Typescript: launch npm -g i typescript
  3. Launch npm run build-all in the root

At this stage you have a javascript output. For binary files you’ll also have to npm run dist-bin.

You could instead run dist to run both build-all & dist-bin.

Dev environment

  1. npm install
  2. npm run watch-server-proxied and leave it running. It will serve server stuff plus will proxy frontend and admin files.
  3. npm run start-frontend and leave it running. It will serve on port 3005.
  4. npm run start-admin and leave it running. It will serve on port 3006

If you don’t want this proxying version, you can use npm run watch-server but after both frontend and admin have been built, so their files are available in dist folder.

Tests

To run tests

Alternatively you can run a development server, just be sure to load config from tests folder.

File organization

The project is roughly divided in Server + Frontend + Admin, where Frontend is a web interface intended to access shared files, while Admin is the web interface for configuration/administration.
Server lies in the root of the project, with its “src” folder, while Frontend and Admin are inside folders “frontend” and “admin” respectively, with their “src” folder within.

Additionally, you have the following folders:

Known problems

Guidelines

Project design