https://github.com/inpercima/mdrza-ranking
Shows the ranking of teams for 'MdRzA - Mit dem Rad zur Arbeit'. Users can create a link to share or use himself.
https://github.com/inpercima/mdrza-ranking
adfc angular angular-cli angular-cli21 angular21 aok mdrza pnpm webapp
Last synced: about 1 month ago
JSON representation
Shows the ranking of teams for 'MdRzA - Mit dem Rad zur Arbeit'. Users can create a link to share or use himself.
- Host: GitHub
- URL: https://github.com/inpercima/mdrza-ranking
- Owner: inpercima
- License: mit
- Created: 2020-06-28T21:00:44.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-02-11T21:01:07.000Z (about 1 month ago)
- Last Synced: 2026-02-12T04:32:53.194Z (about 1 month ago)
- Topics: adfc, angular, angular-cli, angular-cli21, angular21, aok, mdrza, pnpm, webapp
- Language: TypeScript
- Homepage: https://mdrza-ranking.inpercima.net
- Size: 8.63 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# MdRzA Ranking
[](./LICENSE.md)
[](https://github.com/inpercima/mdrza-ranking/actions/workflows/ci_cd.yml)
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](http://mdrza-ranking.inpercima.net).
This project was generated with [swaaplate](https://github.com/inpercima/swaaplate) version 2.5.3.
## Prerequisites
### Angular CLI
* `@angular/cli 21.1.4` or higher
### Node, npm or pnpm
* `node 24.12.0` or higher in combination with
* `npm 11.6.2` or higher or
* `pnpm 10.29.3` or higher, used in this repository
## Getting started
```bash
# clone project
git clone https://github.com/inpercima/mdrza-ranking/
cd mdrza-ranking
# install tools and frontend dependencies
pnpm install
```
Create environment files for `development mode` and `production mode`.
```bash
cp src/environments/environment.ts src/environments/environment.dev.ts
cp src/environments/environment.ts src/environments/environment.prod.ts
```
**Note**: These files will not be under version control but listed in .gitignore.
## Usage
### Recommendation
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.
### Run in development mode
```bash
# 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
```
### Package
```bash
# build in production mode, compressed
pnpm build:prod
```
### Lint
```bash
ng lint
```
### Tests
```bash
# test
ng test
# e2e
ng e2e
```
## Configuration
### General
All 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`.
### Table of contents
* [api](#api)
* [appname](#appname)
* [defaultRoute](#defaultroute)
* [production](#production)
* [theme](#theme)
### `api`
Defines the URL to the backend.
* default: `https://www.mit-dem-rad-zur-arbeit.de/api/teamranking.php?trid=98`
* type: `string`
### `appname`
Applicationwide title of the app, displayed in title and toolbar.
* default: `MdRzA Ranking`
* type: `string`
### `defaultRoute`
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`
### `production`
Defines whether the app is in production or not.
* default: `false`
* type: `boolean`
* values: `true`/`false`
### `theme`
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`.