Starter repo for web apps made by geepara
Tech Stack
- React (Vite)
- Express (typescript)
- Clerk
- Postgres
- Drizzle ORM
- Tanstack Query
- Tailwind CSS
- shadcn
- Clone this repo
git clone https://github.com/geepara/geepara-starter.git- Create
/client/.env.local
cp client/.env.example client/.env.local- Sign into Clerk to create an app and get the API key
VITE_CLERK_PUBLISHABLE_KEY=pk_test...- Create
/server/.env
cp server/.env.example server/.env- Go to the Clerk Dashboard to get the API keys
CLERK_PUBLISHABLE_KEY=pk_test...
CLERK_SECRET_KEY=sk_test...- Sign into Neon or your favorite database provider to create a database and get the database URL
DATABASE_URL=postgresql://geepara-starter...
- Generate and push the drizzle schema to the database
cd server
yarn
yarn drizzle:generate
yarn drizzle:push- Initialize the server
cd server
yarn
yarn dev- Initialize the client
cd ../client
yarn
yarn dev- All done!
If you make changes to your drizzle schema:
- Generate the migration
yarn drizzle:generate- Apply the migrations to your database
yarn drizzle:migrateComing Soon