Time tracking software for LTFNet
- Rust 79.1%
- TypeScript 14.1%
- Just 4.2%
- CSS 2.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Added SQLx migrations and pooled connections on the server side. - Added application configuration support. - Added the initial `users` table migration. - Added local Docker Compose set-up, Justfile, and other tooling and documentation. |
||
| contrib/local | ||
| end2end | ||
| migrations | ||
| public | ||
| src | ||
| style | ||
| .env.example | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| COPYRIGHT | ||
| Justfile | ||
| LICENSE-APACHE | ||
| LICENSE-MIT | ||
| README.md | ||
Trakk
Trakk is time tracking software developed specifically for the LTFNet Suite.
It is a Leptos application served by Axum.
Development
Start the local PostgreSQL service:
docker compose -f contrib/local/docker-compose.yml up -d
Create a local environment file:
cp .env.example .env
Source it before running the server, or export the variables another way:
set -a
source .env
set +a
Run the app:
cargo leptos watch
The app is served at http://127.0.0.1:3000.
Database migrations run automatically on server startup. Migration files live in migrations/.
Tests
cargo leptos end-to-end
The browser tests live in end2end/tests.
Build
cargo leptos build --release