{"id":15103390,"url":"https://github.com/desoga10/ng-chat-ui-setup","last_synced_at":"2025-07-22T23:33:15.649Z","repository":{"id":236184466,"uuid":"792094434","full_name":"desoga10/ng-chat-ui-setup","owner":"desoga10","description":"In this tutorial, we delve into creating a powerful real time Chat application using Angular 17 and Supabase. Here is the link to the tutorial on YouTube: https://www.youtube.com/watch?v=8SRhekaJ5iI","archived":false,"fork":false,"pushed_at":"2024-04-29T13:37:46.000Z","size":479,"stargazers_count":9,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T06:29:03.761Z","etag":null,"topics":["angular","angular17","angular2","supabase","supabase-auth","supabase-db","supabase-functions","supabase-storage","supabase-trigger"],"latest_commit_sha":null,"homepage":"https://ng-chat-v.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/desoga10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-26T00:58:33.000Z","updated_at":"2025-07-17T18:19:56.000Z","dependencies_parsed_at":"2024-04-29T14:47:49.481Z","dependency_job_id":null,"html_url":"https://github.com/desoga10/ng-chat-ui-setup","commit_stats":null,"previous_names":["desoga10/ng-chat-ui-setup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/desoga10/ng-chat-ui-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desoga10%2Fng-chat-ui-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desoga10%2Fng-chat-ui-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desoga10%2Fng-chat-ui-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desoga10%2Fng-chat-ui-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desoga10","download_url":"https://codeload.github.com/desoga10/ng-chat-ui-setup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desoga10%2Fng-chat-ui-setup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266590554,"owners_count":23952959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular17","angular2","supabase","supabase-auth","supabase-db","supabase-functions","supabase-storage","supabase-trigger"],"created_at":"2024-09-25T19:23:52.066Z","updated_at":"2025-07-22T23:33:15.622Z","avatar_url":"https://github.com/desoga10.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- ## Database Table Schema --\u003e\n## users table\n\n* id (uuid)\n* full_name (text)\n* avatar_url (text)\n\n## Creating a users table\n\n```sql\nCREATE TABLE public.users (\n   id uuid not null references auth.users on delete cascade,\n   full_name text NULL,\n   avatar_url text NULL,\n   primary key (id)\n);\n```\n\n## Enable Row Level Security\n\n```sql\nALTER TABLE public.users ENABLE ROW LEVEL SECURITY;\n```\n\n## Permit Users Access Their Profile\n\n```sql\nCREATE POLICY \"Permit Users to Access Their Profile\"\n  ON public.users\n  FOR SELECT\n  USING ( auth.uid() = id );\n```\n\n## Permit Users to Update Their Profile\n\n```sql\nCREATE POLICY \"Permit Users to Update Their Profile\"\n  ON public.users\n  FOR UPDATE\n  USING ( auth.uid() = id );\n```\n\n## Supabase Functions\n\n```sql\nCREATE\nOR REPLACE FUNCTION public.user_profile() RETURNS TRIGGER AS $$ BEGIN INSERT INTO public.users (id, full_name,avatar_url)\nVALUES\n  (\n    NEW.id,\n    NEW.raw_user_meta_data -\u003e\u003e 'full_name'::TEXT,\n    NEW.raw_user_meta_data -\u003e\u003e 'avatar_url'::TEXT,\n  );\nRETURN NEW;\nEND;\n$$ LANGUAGE plpgsql SECURITY DEFINER;\n```\n\n## Supabase Trigger\n\n```sql\n  CREATE TRIGGER\n  create_user_trigger\n  AFTER INSERT ON auth.users\n  FOR EACH ROW\n  EXECUTE PROCEDURE\n    public.user_profile();\n```\n\n## Chat_Messages table (Real Time)\n\n* id (uuid)\n* Created At (date)\n* text (text)\n* editable (boolean)\n* sender (uuid)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesoga10%2Fng-chat-ui-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesoga10%2Fng-chat-ui-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesoga10%2Fng-chat-ui-setup/lists"}