Dirhamly abudgeting app built to help you track your expenses, plan goals, and grow your savings effortlessly.
- TanStack Start
- Tanstack query
- Tanstack Router
- Node.js 22
- TypeScript
- PostgreSQL
- Drizzle ORM
- Better Auth
- TailwindCSS + Shadcn UI
- Docker
- pnpm
- Biomejs
already added zod, rhf and zustand.
- Node.js 22+
- Docker
- pnpm or any package manager of your choice.
git clone https://github.com/dirhamlyinc/dirham.git
cd dirhampnpm installCreate a .env.local file in the root of the project:
# Database
DATABASE_URL=postgres://<user>:<password>@<host>:<port>/<database>
# Google OAuth (if applicable)
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Better Auth
BETTER_AUTH_SECRET=
BETTER_AUTH_URL=http://localhost:3000
# App base URL
BASE_URL=http://localhost:3000Replace placeholders with your actual credentials.
Start a local PostgreSQL container:
docker run -d \
--name dirhamly-db \
-e POSTGRES_USER=<user> \
-e POSTGRES_PASSWORD=<password> \
-e POSTGRES_DB=<database> \
-p 5432:5432 \
postgrespnpm db pushpnpm db generatepnpm devServer will boot up at http://localhost:3000.
-
Restart DB:
docker restart dirhamly-db
-
Stop + remove DB container:
docker stop dirhamly-db docker rm dirhamly-db
MIT © 2025 Amine