{"id":15147260,"url":"https://github.com/matdemn/supabase_example","last_synced_at":"2026-01-20T07:01:54.980Z","repository":{"id":245607433,"uuid":"818736309","full_name":"MatDemn/supabase_example","owner":"MatDemn","description":"Supabase training (t3-stack)","archived":false,"fork":false,"pushed_at":"2024-07-22T04:55:15.000Z","size":283,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T01:13:51.591Z","etag":null,"topics":["nextjs","prisma","react","t3-stack","trpc","typescript"],"latest_commit_sha":null,"homepage":"https://supabase-example-mu.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/MatDemn.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-06-22T17:56:55.000Z","updated_at":"2024-07-22T04:55:17.000Z","dependencies_parsed_at":"2024-11-02T23:30:25.196Z","dependency_job_id":null,"html_url":"https://github.com/MatDemn/supabase_example","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"97c6e8831e515bfa8f55c547e86e9e003d733720"},"previous_names":["matdemn/supabase_example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MatDemn/supabase_example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatDemn%2Fsupabase_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatDemn%2Fsupabase_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatDemn%2Fsupabase_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatDemn%2Fsupabase_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatDemn","download_url":"https://codeload.github.com/MatDemn/supabase_example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatDemn%2Fsupabase_example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nextjs","prisma","react","t3-stack","trpc","typescript"],"created_at":"2024-09-26T12:40:17.658Z","updated_at":"2026-01-20T07:01:54.954Z","avatar_url":"https://github.com/MatDemn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple READMe\n\n## Installation \n\nTo install the project:\n`npm install`\n\nAlso, you have to install the ebsocket server in \"webhookServer\" directory.\nType in `npm install` as well.\n\nBoth projects have to run simultaneously for app to function properly.\n\n## Supabase setup\nYou need 1 table: \nProfile (id, display_name, created_at, updated_at)\nwhich is updated everytime a new user is authenticated.\nI used database triggers on table auth.user to create profile automatically.\nAll Supabase tables have RLS enabled with policies added.\nIt does not matter in this version of the app, but might be useful in the future.\n\n## Env needed:\n\nDATABASE_URL=\"your DB url from supabase\"\nDIRECT_URL=\"your direct url from supabase\"\nNEXT_PUBLIC_SUPABASE_URL=\"your supabase URL\"\nNEXT_PUBLIC_SUPABASE_ANON_KEY=\"your ANON KEY from supabase\"\nNEXT_PUBLIC_WEBSOCKET_URL=\"ws://localhost:3001\"\n\nThis project is using websocket server, which is located in \"webhookServer\" directory.\nYou also have to install it by typing: `npm install`.\n\n\n## How to play it?\n\nJust type in localhost:3000 on two different browsers and log in with google.\nFirst player has to create a game and second one has to type in room id to join. Then any of them can start a new game. After 60 seconds the game will finish and whole process starts again.\n\n\n## Most important features:\n\n- Correctly typed in letters highlighting\n- Current players stats updating realtime\n- Lorem Ipsum text generated (who doesn't love that?)\n- ShadCN components for better flavour\n- Overall mayhem\n\n\n## Ending\n\nThis project was evolving rapidly from supabase playground to what it is right now.\nAt first, it as a introductory project to learn more about Supabase and the whole T3 stack.\nLater on, I transformed it into this coding challenge.\nI tried to use realtime from Supabase, but couldn't make it work properly. \nWebsockets and youtube tutorials came to the rescue. At the end,\nthe whole database was not needed, but auth and profiles are still useful.\nZustand stores are a leftover solution for client side props passing.\nThere are a lot more to fix and improve, but overall I'm quite happy about the results.\nI had a lot of fun building and debugging it. Surely, this project will be improved in the future.\nThank you for your time, dear reader.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatdemn%2Fsupabase_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatdemn%2Fsupabase_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatdemn%2Fsupabase_example/lists"}