A new OwlBoard frontend developed with Svelte
Go to file
Fred Boniface be850f5bd1 Stop caching shortcut icons - that is down to the OS. 2024-07-12 20:50:05 +01:00
src Stop caching shortcut icons - that is down to the OS. 2024-07-12 20:50:05 +01:00
static Remove unused image sizes 2024-07-12 20:45:10 +01:00
.dockerignore Bump version, add .dockerignore to improve buildtimes 2024-04-19 20:51:12 +01:00
.eslintignore Initiate Svelte 2023-06-12 19:02:49 +01:00
.eslintrc.cjs Prettier - add trailing commas 2024-04-30 11:18:21 +01:00
.gitignore Initiate Svelte 2023-06-12 19:02:49 +01:00
.npmrc Prepare to re-write table-generator for new TS-Type API 2023-08-05 01:02:42 +01:00
.prettierignore Initiate Svelte 2023-06-12 19:02:49 +01:00
.prettierrc Update prettierrc 2024-04-30 11:17:45 +01:00
LICENSE Initial commit 2023-06-12 09:06:19 +01:00
README.md Closes issue: OwlBoard/backend#39 2023-08-24 20:24:28 +01:00
dockerfile Adjust version and ensure .npmrc is included in Docker build step 2023-08-07 11:04:39 +01:00
nginx.conf Adjust forwarding 2024-06-18 23:04:39 +01:00
package-lock.json Bump ts-types 2024-07-01 12:07:54 +01:00
package.json Move @tabler icons from dependencies to dev-dependencies 2024-07-12 20:17:29 +01:00
svelte.config.js Remove screenshots from SW Cache 2024-07-12 19:53:45 +01:00
tsconfig.json Update prettier settings 2024-04-30 11:17:06 +01:00
vite.config.ts Prettier - add trailing commas 2024-04-30 11:18:21 +01:00

README.md

owlboard-svelte

owlboard-svelte is the OwlBoard web-frontend as of version 2023.7.1 replacing the previous version (https://git.fjla.uk/owlboard/web) and moving from a raw HTML/CSS/JS to a statically build Svelte website.

The decision was made because as new features were added, the markup and code started to become difficult to manage and maintain. The Svelte version introduces reusable components simplifying the maintenance and the addition of new features.

Building

To build owlboard-svelte, simply clone the repo and run npm run build which will build a static website in the build folder. The static files can then be uplaoded to a webserver of your choice.

The website is build statically for server performance reasons - running an nginx server is lighter than running Node considering that much of the data fetching and processing happens on the client side anyway due to user UUID access keys being required.

TypeScript

Any new code added to the website should be written in TypeScript - where Javascript is extended, it should be re-written into TypeScript.