mirror of
https://github.com/Nerdbergev/strichliste-web-frontend.git
synced 2026-04-04 00:58:41 +02:00
- TypeScript 91.7%
- CSS 5.5%
- JavaScript 2.1%
- HTML 0.7%
| .vscode | ||
| public | ||
| src | ||
| .editorconfig | ||
| .env.development | ||
| .env.production | ||
| .eslintignore | ||
| .eslintrc.js | ||
| .gitignore | ||
| .npmrc | ||
| .travis.yml | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.prod.json | ||
| tsconfig.test.json | ||
| yarn.lock | ||
Strichliste Web Frontend 
SPA Frontend for the Strichliste project
Getting Started
This project is build with typescript, react, redux, emotion and create-react-app.
Prerequisites
You have to use yarn to build this project.
Installing
Fetch all dependencies by
yarn install
Start the development server by
yarn start
Build the project by
yarn build
the output will be copied to the dist folder.
Differences to the upstream version
Our fork of the strichliste-web-frontend can play multiple sounds after a transaction.
To add a new sound you need to:
- Add the new sound file to the
<WEBROOT>/public/sounds/folder - Add the new sound to the backend settings
- Reload the frontend in your user agent
To debug if the new sound was properly added you can open the network tab in the dev tools and see if the sound file appears in the request history.
Contributing / FAQ
Commit Messages
please follow the angular commit message guidlines
Ui Component Framework
all basic components are found inside the src/bricks folder. (Lego pun intended)
End 2 End Tests
We do have e2e tests with cypress check our test repo