A FOSS time tracker. This can be used to track how much time is spent on different activities.
Remaking this project so it has more features + a more polished UX/UI
V1: https://github.com/not-a-ethan/time-tracker
The new features this week is everything exept the dashboard.
You can view a video demo.
This project uses a PostgreSQL databse. Below is the quries to create all the tables.
CREATE TABLE "users" (
"id" integer PRIMARY KEY,
"name" text UNIQUE NOT NULL
);;CREATE TABLE "projects" (
"id" integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY (sequence name "projects_id_seq"),
"name" text NOT NULL,
"description" text,
"color" text NOT NULL,
"owner" integer NOT NULL,
"collaborators" text NOT NULL
);;collaborators column should be a comma seperated list of user IDs.
CREATE TABLE "timeentries" (
"id" integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY (sequence name "timeentries_id_seq"),
"projectid" integer NOT NULL,
"name" text NOT NULL,
"starttime" integer NOT NULL,
"endtime" integer,
"owner" integer NOT NULL
);;GITHUB_ID=id>
GITHUB_SECRET=et>
NEXTAUTH_URL=l)>
AUTH_SECRET=#nextauth_secret>gt;
PGHost=st>
PGPORT=5432
PGDATABASE=se>
PGUSER=er>
PGPASSWORD=rd>