Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tbreuss/ch-gemeinden
Swiss Municipality Index - Demo App using Mithril.js as frontend, Yii2 as backend, and SQLite as database engine.
https://github.com/tbreuss/ch-gemeinden
demo-app docker docker-compose mithril rest-api sqlite yii2
Last synced: about 1 month ago
JSON representation
Swiss Municipality Index - Demo App using Mithril.js as frontend, Yii2 as backend, and SQLite as database engine.
- Host: GitHub
- URL: https://github.com/tbreuss/ch-gemeinden
- Owner: tbreuss
- Created: 2019-04-14T10:53:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-14T17:34:51.000Z (almost 2 years ago)
- Last Synced: 2024-11-13T01:36:07.986Z (3 months ago)
- Topics: demo-app, docker, docker-compose, mithril, rest-api, sqlite, yii2
- Language: JavaScript
- Homepage:
- Size: 841 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swiss Municipality Index
Simple demo app using Mithril.js as frontend, Yii2 as backend, and SQLite as database engine.
Online demo: [https://ch-gemeinden.tebe.ch](https://ch-gemeinden.tebe.ch)
## Prerequisites
- Docker & Docker Compose
## Production
~~~bash
docker run --rm -p 80:80 tbreuss/ch-gemeinden
~~~Open [http://localhost](http://localhost) in your browser.
## Development
Clone repo from GitHub:
~~~bash
git clone https://github.com/tbreuss/ch-gemeinden.git
~~~Start project in development mode:
~~~bash
cd ch-gemeinden
docker-compose up -d
~~~Open [http://localhost:8881](http://localhost:8881) in your browser.
Build app.js for production:
~~~bash
docker run -it --rm -v $(pwd):/app -w /app node:alpine npm run build
~~~## To be done:
**Work in progress**
- [x] show number of search results
- [x] add sort for each column
- [x] use [html boilerplate](https://github.com/tbreuss/html-boilerplate)
- [x] dockerize app
- [x] use sqlite
- [ ] add pagination
- [ ] add sort icons
- [ ] enable x-debug in development