当前位置: 首页 > news >正文

官网app软件免费下载sem优化师工资

官网app软件免费下载,sem优化师工资,360做网站吗,无锡论坛网本地网站上期视频我们创建好了BaaS服务的后端应用。从这期视频开始#xff0c;我们将从头开发一个互联网记账本应用。本期视频我们介绍一下如何使用模板快速开启我们的应用开发之旅。 应用实战#xff5c;从头开始开发记账本2#xff1a;基于模板快速开始 相关代码 本期视频我们介绍…上期视频我们创建好了BaaS服务的后端应用。从这期视频开始我们将从头开发一个互联网记账本应用。本期视频我们介绍一下如何使用模板快速开启我们的应用开发之旅。 应用实战从头开始开发记账本2基于模板快速开始 相关代码 本期视频我们介绍了如何通过模板快速开始MemFire Cloud项目简单了解了模板代码内置的功能同时演示了一下如何配置并运行我们的模板代码。 新建应用 注册登录MemFire Cloud平台创建一个应用; React npx create-react-app --template memfire-react-template your_project_nameVue vue create --preset memfire-cloud/memfire-vue-tempalte your_project_nameSQL创建 -- 创建用户信息表 CREATE TABLE public.profile ( id uuid default uuid_generate_v4() primary key,created_at timestamp default now() ,email TEXT,user_name TEXT,avatar VARCHAR,introduction VARCHAR ); -- 创建todo表 CREATE TABLE public.todo_list ( id SERIAL,created_at timestamp default now() ,user_id uuid references public.profile not null,todo VARCHAR NOT NULLcompleted BOOLEAN NOT NULL, ); -- 创建实时聊天记录表 CREATE TABLE public.messages ( id SERIAL,user_id uuid references public.profile not null,created_at timestamp default now() ,message TEXT NOT NULL,user_name TEXT NOT NULL,avatar VARCHAR NOT NULL ); -- Set up Row Level Security (RLS) alter table todo_list enable row level security;-- 用户只能删改查自己的todo create policy Users can select their own todo_list.on todo_list for selectusing ( auth.uid() user_id );create policy Users can insert their own todo_list.on todo_list for insertwith check ( auth.uid() user_id );create policy Users can update own todo_list.on todo_list for updateusing ( auth.uid() user_id );create policy Users can delete own todo_list.on todo_list for deleteusing ( auth.uid() user_id );-- 人员信息列表每个人都可以访问 alter table accountenable row level security;create policy Public account are viewable by everyone. on accountfor select using (true);create policy Users can insert their own account. on accountfor insert with check (true);create policy Users can select their own account. on accountfor update using (true);create policy Users can delete their own account. on accountfor delete using (true);-- 聊天信息表每个人都可以查询数据只有用户自己才能发送消息。alter table messagesenable row level security;create policy Public messages are viewable by everyone. on messagesfor select using (true);create policy Users can insert their own messages. on messagesfor insert with check (auth.uid() user_id);/*** REALTIME SUBSCRIPTIONS* 只允许在公共表进行实时监听。*/begin;-- remove the realtime publicationdrop publication if exists supabase_realtime;-- re-create the publication but dont enable it for any tablescreate publication supabase_realtime; commit;-- add tables to the publication alter publication supabase_realtime add table public.messages;-- 创建存储桶 insert into storage.buckets (id, name)values (avatars, avatars);insert into storage.buckets (id, name) values (files, files);-- Set up access controls for storage. create policy files images are publicly accessible. on storage.objectsfor select using ( true );create policy Own can upload an files. on storage.objectsfor insert with check (true);create policy Own can update their own files. on storage.objectsfor update using ( true );create policy Own can delete their own files. on storage.objectsfor delete using ( true);下一期视频我们会带领大家快速了解一下平台提供的API以及如何通过API文档来学习SDK的用法。我们下期再见。
http://www.pierceye.com/news/387090/

相关文章:

  • 做美剧盗版网站国内购物网站案例分析
  • 淄博网站制作哪家公司好东莞网站设计公司哪家好
  • 用dreammwea怎么做视频网站域名注册网站建设
  • 网站关键词用热门的还是冷门注销网站备案时间
  • 苏晋建设集团网站书店网站建设目标调研的方案
  • 下沙建设局网站建设公司内网网站的意义
  • 全屏响应式网站模板污网站公司网站
  • 抚远佳木斯网站建设领动建站
  • 班级网站 建设模板做任务佣金网站源码
  • 网站的关键词库广州建网站培训
  • 好的网页设计网站网站排名提升工具
  • 个人网站需要那些企查查入口网页版
  • 怎么用自己主机做网站、淮南网站推广
  • 丰台网站制作网站域名.xin
  • 省建设厅网站6工作室网页模板
  • 怎么制作免费网站教程视频wordpress 准迁
  • html5新增标签seo网址超级外链工具
  • 自己做的网站访问不了建站如何挣钱
  • 网盘做网站做网站推广员工
  • 河北正规网站建设比较网页制作平台哪家好
  • 2017网站seo如何做wordpress设置登录背景
  • 网站的模块怎么做网站建设的技术支持包括
  • 青岛网站设计哪家好游戏小程序开发定制
  • 建设网站西丽提升网站建设品质
  • 大良营销网站建设方案广东东莞划定多个高风险区
  • 毕业设计做网站用什么品牌网站建设新闻
  • c 网站开发用的人多吗做it行业招标网站有哪些
  • 招聘做牙技工的网站用html框架做网站
  • 本地wordpress站点上传央企网站群建设
  • 广州免费自助建站开发wordpress公园