Frontend of the bit platform.
Go to file
Marco Cetica deaade014c
Updated input box style
2024-03-21 11:34:31 +01:00
delete Fixed minor bugs 2024-02-22 08:52:05 +01:00
edit Fixed minor bugs 2024-02-22 08:52:05 +01:00
search Fixed minor bugs 2024-02-22 08:52:05 +01:00
static Updated input box style 2024-03-21 11:34:31 +01:00
tos Fixed minor bugs 2024-02-22 08:52:05 +01:00
user Fixed minor bugs 2024-02-22 08:52:05 +01:00
LICENSE Added documentation and LICENSE 2024-01-19 11:37:51 +01:00
README.md Added documentation and LICENSE 2024-01-19 11:37:51 +01:00
index.html Fixed minor bugs 2024-02-22 08:52:05 +01:00

README.md

Bit Frontend

Frontend of the bit platform. Written in HTML5+CSS3 and vanilla Js without any frontend framework or external library. Accessible from here.

Deploy

Before deploying the frontend, be sure to follow the instructions on the bit backend page to install and configure the REST API. After that, you should have a reverse proxy to the API on the /api/ path.

In order to deploy the frontend, extract the static files of this repository on a dedicated web root:

$> sudo mkdir -p /var/www/bit_frontend
$> sudo cp -R $(ls -A | grep -vE '.git|README.md|LICENSE') /var/www/bit_frontend

And then configure nginx as follows:

server {
    # ...other settings
    root /var/www/bit_frontend;

    location /api {
        proxy_pass http://127.0.0.1:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

License

This software is released under the GPLv3 license. You can find a copy of the license with this repository or by visiting the following page.