- React
- Tailwind
- Supabase
-
- Rename env.example to
.envwithout any extenstion.
- Rename env.example to
-
-
Go to Google Cloud Platform and create a new project.
-
Go to Credentials Page of your newly created project.
-
Click on Create Credential and select
OAuth client ID. -
Select application type as
Web application. -
Give name as required.
-
Add Authorized JavaScript origins as your client's localhost url; - http://localhost:5173
-
Add Authorized redirect URIs as same as your
SUPABASE_REDIRECT_URLin.envfile. -
Click create/submit.
-
When you finish configuring your credentials, you will be shown your Client secret and Client ID.
-
Copy
Client secretand assign it toSUPABASE_AUTH_SECRETin.envfile. -
Copy
Client IDand assign it toSUPABASE_AUTH_CLIENT_IDin.envfile.
-
-
-
Setup supabase storage buckets
npm init:supabase
-
Run supabase container using following command
supabase start
-
After running the above command -
- Copy
anon keyfrom the output and assign it toSUPABASE_KEYin.envfile - Open the Studio URL from the output in browser; - http://127.0.0.1:54323
- Copy
-
Apply all the migrations using following command
supabase db reset
Note: To shut down supabase container before closing the dev window, Run
supabase stop -
-
-
Install all the client dependencies using following command
npm install
-
Run the client using following command
npm start
-
Client will run at - http://localhost:5173
-

