Our project for ITU DevOps 2026
- Rust 52.7%
- Python 14.8%
- Shell 11.9%
- Typst 6.3%
- Makefile 4.1%
- Other 10.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo/workflows | ||
| db | ||
| deploy | ||
| docs | ||
| monitoring | ||
| report | ||
| src | ||
| static | ||
| templates | ||
| tests | ||
| .gitignore | ||
| .mailmap | ||
| Cargo.lock | ||
| Cargo.toml | ||
| docker-compose-monitoring.yml | ||
| docker-compose.db.yml | ||
| docker-compose.test.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| Makefile | ||
| README.md | ||
| requirements.txt | ||
| sonar-project.properties | ||
ITU-MiniTwit
A micro-blogging application. Run it locally for development or deploy it to a remote server. Run make to see all available targets.
Deployment
See docs/deploying.md.
Local development
Prerequisites
Assumes Debian/Ubuntu or MacOS with GNU Make and Docker installed.
Running the server
make run # build & start on localhost:5001
make stop # stop & remove the app and shared database
The server listens on http://localhost:5001. A shared PostgreSQL database is used and its files are stored under db/postgres.
Testing
Tests exercise the HTTP API against a separate test server & database (PostgreSQL), which are set up and teared down automatically.
make test
Logging
See docs/logging.md.
Other utilities
flag_tool
Flags tweets in the database. (Note: currently supports SQLite, needs update for PostgreSQL)