I did this one for myself.
- React
- Convex
- Convex Auth
- Vercel
- Tailwind
- Shadcn
Has some nice prettier + eslint rules that I like. I just push to the main branch btw.
I also use the same Auth logic + UI as base for all my side projects hehe + just deploy to Vercel.
Generally, I like using most of what Vercel has to offer, it's usually enough for me, I sometimes reach for other tools if necessary but considering Convex as a whole backend platform, I usually need very little from external services lol
You can build anything almost, including multiplayer games.
How I do it after fork/clone + pnpm install
:
npx convex dev
(you need to be logged into convex in your browser)- Push to a repo
- Deploy to Vercel + read deploy to vercel
- Generate deploy key in Convex.
- Create new vercel project.
- Override build command with
npx convex deploy --cmd 'npm run build'
. - Setup CONVEX_DEPLOY_KEY environment variable with the deploy key you generated in Convex.
- Deploy.
npx @convex-dev/auth
- Run locally and make sure auth works for dev.
npx @convex-dev/auth --prod
handlePromise
for dealing with promises over try/catch.
I import convex stuff from @/convex/...
You can see my lint config + prettier of what I prefer I guess, generally a fan of clean and simple code.
InputWithFeedback
component for inputs with error + helper text.
- index.css file for the theme -> just ask ai to do it for you i guess
- index.html file for all meta tags
- package.json name license, etc.
- See login form
src/pages/login/index.tsx
+ add your name.