Note: I recommend using Linux and Visual Studio Code
-
Run
npm installto install the project dependencies -
Run
npm run devto check if everything is alright
-
Edit
package.json->"name": "..."to your project's name -
Remove or replace
LICENSE -
Remove or replace
README.md
-
Edit
index.htmlas you need (e.g.: language, metadata, title, icon etc) -
Edit
.prettierrcto combine with your code style (e.g.: tab width, single or double quotes) -
Edit your importing aliases at
tsconfig.app.json->"paths": { ... } -
Install and configure any adicional module (UI Kit, Global State Manager, HTTP Client, Requisitions Manager etc)
-
Clone
.env.exampleto.env.localand edit with your Supabase Environment Variables (starting withVITE_) -
Make sure that your Supabase have the required RLS Rules
-
Remove the Supabase module with
npm uninstall @supabase/supabase-js -
Remove the file
./src/utils/supabase.jsand the folder./src/auth/
-
Plan to have some server-side authentication check (dedicated Back-end or Vite w/ Server Functions)
-
Edit
./src/app/AppRouter.tsxto combine with your routes -
Edit
./src/app/index.css->@theme { ... }to combine with your project's theme
- Use the folder
./src/authas a boilerplace for your authentication system and improve it as you like
-
Do whatever you want, but make sure to have fun
-
Check if is everything alright with
npm run check(npm run typecheck,npm run formatandnpm run lint)
-
Build the project using
npm run build -
Remove
vercel.jsonif you are not deploying to Vercel -
And, finally, remove
GUIDE.md
Good Luck :D