Shows the ranking of teams for 'MdRzA - Mit dem Rad zur Arbeit'. Users can create a link to share or use himself.
This app is online under mdrza-ranking.inpercima.net.
@angular/cli 21.2.3or higher
node 24.14.0or higher in combination withnpm 11.9.0or higher orpnpm 10.32.0or higher, used in this repository
# clone project
git clone https://github.com/inpercima/mdrza-ranking/
cd mdrza-ranking
# install tools and frontend dependencies
pnpm installCreate environment files for development mode and production mode.
cp src/environments/environment.ts src/environments/environment.dev.ts
cp src/environments/environment.ts src/environments/environment.prod.tsNote: These files will not be under version control but listed in .gitignore.
It is recommended to use a server to get full access of all angular. For the other options your app should run on a server which you like.
# build, reachable on http://localhost/app/path/to/dist/
pnpm build:dev
# build and starts a server, rebuild after changes, reachable on http://localhost:4200/
pnpm start# build in production mode, compressed
pnpm build:prodng lint# test
ng test
# e2e
ng e2eAll options have to been set in the environment files but some of them do not need to be changed.
All defaults refer to the environment file (environment.ts), they are prepared in development mode (environment.dev.ts).
Change for production mode the option production to true.
Defines the URL to the backend.
- default:
https://www.mit-dem-rad-zur-arbeit.de/api/teamranking.php?trid=98 - type:
string
Applicationwide title of the app, displayed in title and toolbar.
- default:
MdRzA Ranking - type:
string
The default route and the route to be redirected after a login if no route is stored or if a route does not exist.
- default:
dashboard - type:
string
Defines whether the app is in production or not.
- default:
false - type:
boolean - values:
true/false
Name of a pre-build-theme or a custom theme.
- default:
rose-red - type:
string - values:
rose-red/azure-blue/magenta-violet/cyan-orange/custom
To modify the custom theme just edit the colors and themes in themes.scss.