Compare commits

..

No commits in common. "0bd83f8000daeef993764aea29149036b1d80254" and "d3d0d17b3a99ab8412df3111dc2d4c029fd04908" have entirely different histories.

2 changed files with 32 additions and 40 deletions

View File

@ -1,27 +1,38 @@
# @lfk/kiosk # create-svelte
## Overview 👀 Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
This is a simple kiosk style register form for the LfK runnersystem.
The basic idea is:
1. Create a runnersystem user with only `RUNNER:CREATE` permissions.
2. Login with this user under `/login`
3. Runners can register via their firstnam and lastname
4. The kiosk creates the runner via the backend and shows their id, firstname, lastname and a barcode containing their id
## Development 🛠️ ## Creating a project
```
pnpm i If you're seeing this, you've probably already done this step. Congrats!
pnpm dev --open
```bash
# create a new project in the current directory
npm create svelte@latest
# create a new project in my-app
npm create svelte@latest my-app
``` ```
## Build 🚀 ## Developing
```
pnpm i Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
pnpm build
```bash
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
``` ```
## Docker 🐳 ## Building
To create a production version of your app:
```bash
npm run build
``` ```
docker build .
docker-compose up You can preview the production build with `npm run preview`.
```
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.

View File

@ -2,25 +2,6 @@
"name": "@lfk/kiosk", "name": "@lfk/kiosk",
"version": "0.0.1", "version": "0.0.1",
"private": false, "private": false,
"license": "MIT",
"repository": "https://git.odit.services/lfk/kiosk",
"author": {
"name": "ODIT.Services",
"email": "info@odit.services",
"url": "https://odit.services"
},
"contributors": [
{
"name": "Philipp Dormann",
"email": "philipp@philippdormann.de",
"url": "https://philippdormann.de"
},
{
"name": "Nicolai Ort",
"email": "info@nicolai-ort.com",
"url": "https://nicolai-ort.com"
}
],
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",
"build": "vite build", "build": "vite build",
@ -58,7 +39,7 @@
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@odit/lfk-client-js": "1.0.1", "@odit/lfk-client-js": "^1.0.1",
"bwip-js": "3.4.0" "bwip-js": "3.4.0"
}, },
"release-it": { "release-it": {