كيف تنشئ مشروع Nhost مجاني:
١. روح
nhost.io → New Project
٢. بعد ما يتهيأ المشروع، روح
Database → SQL Editor وشغّل:
create table if not exists profile (
id int primary key default 1,
data jsonb
);
insert into profile (id, data) values (1, '{}')
on conflict (id) do nothing;
٣. روح
Hasura Console → Data → profile → Permissions
→ أضف role اسمه
public → فعّل select وinsert وupdate
٤. روح
Storage → Buckets → default → فعّل
Public
ثم Policies → Allow all operations for public role
٥. من Dashboard الصفحة الرئيسية، انسخ
Subdomain و
Region