Opinionated and ready to go tempalte, for when you need to bootstrap an app in a minute.
This example offers an opinionated starter preset for making web apps using a simple sensible technology stack.
Template comes with out of the box configured:
- Client side router
- Mantine theming
- Supabase database
- Supabase auth with ready made login and register forms
- Automatic type gen
- Spotlight, modals, forms and notifications from mantine
- Nanostores - Global state
Preset uses the yarn create vite
template using vite with typescript + SWC
.
Big part of this template is the Mantine component library. I know there are many options, but after trying a lot of them, I found that Mantine suits me the most.
I use Nanostores for global state (think, better Redux). It gives me everything I need 99% of the time. It has a nice syntax and nice React integration.
Create fully type safe endpoints by running yarn typegen
.
npx supabase login
to login to your project
npx supabase link
link your supabase project
yarn typegen
Is installed as a dev dependency and .vscode
recommends installing it as an editor plugin.
Format on save is enabled for a reason. Dont write ugly code.
App will error if no supabase keys are present. Obtain them at https://supabase.com/dashboard/{YOUR_PROJECT}/settings/general