https://github.com/deciduously/dalia-challenge
Aggregate and display various cultural events in Berlin from multiple sources
https://github.com/deciduously/dalia-challenge
Last synced: 5 months ago
JSON representation
Aggregate and display various cultural events in Berlin from multiple sources
- Host: GitHub
- URL: https://github.com/deciduously/dalia-challenge
- Owner: deciduously
- License: bsd-3-clause
- Created: 2020-02-17T16:46:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-25T00:27:35.000Z (about 3 years ago)
- Last Synced: 2025-03-23T21:49:19.038Z (about 1 year ago)
- Language: Rust
- Size: 944 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dalia Research Challenge
## Berlin Cultural Events
Web application to collect, aggregate, and display various cultural events in Berlin.
## Requirements
- [Rust 2018](https://www.rust-lang.org/) - stable toolchain
- [Node/NPM](https://nodejs.org/en/)
- [Docker](https://www.docker.com/)
## Usage
### NPM Scripts
- `dev`: start dev server on port 3000
- `prod`: build and start production Docker container on port 8080 - must stop container via docker
- `run`: run local image
- `lint`: run linters
- `test`: run tests
- `test:watch`: run tests, watching for changes
### Executable Options
Options set in `src/config.toml` override these defaults, but options passed at the command line override `config.toml`.
## Dependencies
### Crates
- [anyhow](https://github.com/dtolnay/anyhow) - Quick error handling
- [askama](https://github.com/djc/askama) - Templates
- [chrono](https://github.com/chronotope/chrono) - Date and time
- [diesel](https://diesel.rs) - ORM
- [hyper](https://hyper.rs/) - HTTP server
- [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) - Runtime-evaluated statics
- [log](https://github.com/rust-lang/log) - Logging macros
- [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) - Pretty log output
- [Reqwest](https://github.com/seanmonstar/reqwest) - Simpler HTTP client for scraping
- [r2d2](https://github.com/sfackler/r2d2) - DB connection pool
- [select](https://github.com/utkarshkukreti/select.rs) - Scrape data from HTML
- [serde](https://serde.rs/) - Serialization/deserialization
- [structopt](https://github.com/TeXitoi/structopt) - CLI
- [url](https://github.com/servo/rust-url) - URL parsing
### Style
- [TailwindCSS](https://tailwindcss.com/)
- [Postcss](https://postcss.org/)
- [Autoprefixer](https://github.com/postcss/autoprefixer)
- [Purgecss](https://purgecss.com/)
- [Cssnano](https://cssnano.co/)
- [Stylelint](https://stylelint.io/)