docs: sync project documentation
This commit is contained in:
@@ -8,11 +8,11 @@ Docker Compose — Flyway for schema migrations — Tailwind CSS v4 — Biome 1.
|
||||
|
||||
## Features
|
||||
|
||||
- **Daily time entries** — date, project, duration (entered as h:mm), automatic cost from hourly rate
|
||||
- **Weekly view** — navigate by ISO week; see total hours per day and a running week total
|
||||
- **Daily time entries** — date, project, duration (entered as h:mm), automatic cost from hourly rate; entries can be created, edited, and deleted
|
||||
- **Weekly view** — navigate by ISO week; see total hours per day, individual entries, and a running week total
|
||||
- **Monthly view** — per-project summary with time and cost progress bars; red banner when a budget is exceeded
|
||||
- **Project management** — create projects with time and cost budgets; set a project-level hourly rate or fall back to the user's default
|
||||
- **Multi-user** — pick any seeded user from the dropdown; cost is calculated using that user's rate when no project rate is set
|
||||
- **Project management** — create and edit projects with time and cost budgets; set a project-level hourly rate or fall back to the user's default
|
||||
- **Multi-user** — pick any seeded user from the dropdown and edit that user's name/default rate; cost is calculated using that user's rate when no project rate is set
|
||||
- **Soft budget enforcement** — entries always save; over-budget projects are highlighted with a warning banner and colored bars
|
||||
|
||||
## Quick start
|
||||
@@ -68,7 +68,8 @@ Without mise:
|
||||
|
||||
```bash
|
||||
# one-time setup
|
||||
sudo apt install openjdk-21-jdk nodejs npm docker-compose-plugin
|
||||
sudo apt install openjdk-21-jdk docker-compose-plugin
|
||||
# Install Node 22 with your preferred Node version manager or distro-specific package.
|
||||
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 # adjust if your JDK is elsewhere
|
||||
npm --prefix frontend install
|
||||
cp -n .env.example .env
|
||||
@@ -99,7 +100,8 @@ for demo users and projects). Hibernate is set to `validate` — it never modifi
|
||||
|
||||
**API shape** — aggregation is done server-side via two dedicated endpoints:
|
||||
`GET /api/reports/weekly?userId=&week=YYYY-Www` and `GET /api/reports/monthly?userId=&month=YYYY-MM`.
|
||||
All other CRUD endpoints follow standard REST conventions under `/api/`.
|
||||
Resource endpoints live under `/api/`: users can be listed and updated, projects can be listed,
|
||||
created, and updated, and time entries can be listed by date range, created, updated, and deleted.
|
||||
|
||||
## Environment
|
||||
|
||||
|
||||
Reference in New Issue
Block a user