A minimal time tracker for when you have to track time but don't want all the bells and whistles. Built with Next.js 14 (App router), React Query, Auth.js, Prisma, PostgreSQL, Tailwind CSS, shadcn/ui.
Deploy PostgreSQL
,
then click on the Variables tab and grab the DATABASE_URL
.createdb mydatabase
DATABASE_URL=postgresql://postgres:[YOUR_PASSWORD]@localhost:5432/mydatabase
docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -e POSTGRES_DB=mydatabase -p 5432:5432 -d postgres
DATABASE_URL=postgresql://postgres:mysecretpassword@localhost:5432/mydatabase
Clone the repo
git clone https://github.com/james-langridge/clucker-clocker.git
Install NPM packages
npm install
Copy .env.local.example
to .env.local
and add your API key.
cp .env.local.example .env.local
Once you have a Postgres DB running somewhere, and the DATABASE_URL
env var
set, run the
Prisma Migrate command:
npx prisma migrate dev
Start the development server:
npm run dev
If you cloned the repo, deploying to Vercel is simple: https://vercel.com/new
You can also clone and deploy this project on Vercel using the button below.
See the Next.js deployment documentation for more details.
Code distributed under the MIT License.