I've set up the supabase development environment and added the type annotations for each table.
Changes
Installed @supabase/supabase-js and @supabase/ssr
Created .env.local.example for the supabase credentials
Added some utility files for authentication, which will be used later
Added database type in src/types/database.types.ts
Added type annotations for each table in src/types/tascurator.types.ts
Notes
While you don't need to arrange the environment variables for this PR, I highly recommend setting them up as soon as possible in your codebase for future development, following the .env.local.example.
Assignee Checklist:
[x] The base branch is correct (no accidental merges)
[x] The branch name follows our branch naming rules
[x] The PR title follows our PR title rules
[x] My code follows our coding style
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings or errors in the console
Overview
Changes
@supabase/supabase-js
and@supabase/ssr
.env.local.example
for the supabase credentialssrc/types/database.types.ts
src/types/tascurator.types.ts
Notes
.env.local.example
.Assignee Checklist:
Reviewer Checklist: