First, install the dependencies
npm i
then run the development server:
npm run dev
- setup supbase fill env.sample
- create developer user
- handle create user using service role
- Prevent UI from none admin
- update create user for only admin to create only
- read user
- update user
- delete user
permission_table:{
id: uuid,
role: text,
status: text, (active,resigned),
created_at: date,
member_id: uuid
}
member_table:{
id: uuid,
name: text,
created_at: date,
}
todo_table:{
id: uuid,
title: text,
completed: boolean,
created_at: date,
created_by: uuid (foreign_key member_id)
}