{"id":20621464,"url":"https://github.com/emarifer/supabase-api-auth-crud","last_synced_at":"2026-04-02T01:02:35.027Z","repository":{"id":178041413,"uuid":"661138244","full_name":"emarifer/supabase-api-auth-crud","owner":"emarifer","description":"Full Stack App covering Auth flow \u0026 CRUD with Nodejs and Supabase and Frontend Solidjs with TypeScript.","archived":false,"fork":false,"pushed_at":"2023-07-02T11:19:47.000Z","size":236,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T14:24:28.786Z","etag":null,"topics":["axios","bcryptjs","express-server","expressjs","jsonwebtoken","nodejs","solid-form-handler","solidjs","supabase-cli","supabase-client","supabase-db","supabase-js","tailwindcss","typescript","zod"],"latest_commit_sha":null,"homepage":"https://sp-auth-crud.onrender.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emarifer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-07-01T22:58:01.000Z","updated_at":"2024-08-31T01:17:14.000Z","dependencies_parsed_at":"2023-07-03T03:15:15.378Z","dependency_job_id":null,"html_url":"https://github.com/emarifer/supabase-api-auth-crud","commit_stats":null,"previous_names":["emarifer/supabase-api-auth-crud"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emarifer/supabase-api-auth-crud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emarifer%2Fsupabase-api-auth-crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emarifer%2Fsupabase-api-auth-crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emarifer%2Fsupabase-api-auth-crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emarifer%2Fsupabase-api-auth-crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emarifer","download_url":"https://codeload.github.com/emarifer/supabase-api-auth-crud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emarifer%2Fsupabase-api-auth-crud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"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":["axios","bcryptjs","express-server","expressjs","jsonwebtoken","nodejs","solid-form-handler","solidjs","supabase-cli","supabase-client","supabase-db","supabase-js","tailwindcss","typescript","zod"],"created_at":"2024-11-16T12:18:02.269Z","updated_at":"2026-04-02T01:02:34.968Z","avatar_url":"https://github.com/emarifer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tasks Manager App\n\n### Full Stack App covering Auth flow \u0026 CRUD with Nodejs and Supabase and Frontend Solidjs with TypeScript\n\nTo run the application, you must first install the dependencies and compile the code, both backend and frontend:\n\n```bash\n$ npm i \u0026\u0026 npm run build \u0026\u0026 cd client/ \u0026\u0026 npm i \u0026\u0026 npm run build \u0026\u0026 cd..  # or pnpm or yarn install (without «run»)\n```\n\nSecondly, you must add to the .env file the project credentials that you have created in Supabase.:\n\n```bash\nSUPABASE_URL_PROJECT=xxxx\nSUPABASE_ANON_KEY=xxxx\n```\n\nOnce the backend and frontend are created, you can start the server (production mode) which will start at http://localhost:4000 with the command:\n\n```bash\n$ npm run dev # or pnpm dev or yarn dev\n```\n\nIn development mode, you must start the backend and frontend separately:\n\n```bash\n$ npm run dev # or pnpm dev or yarn dev\n\n# (another terminal in root folder)\n$ cd client/ \u0026\u0026 npm run dev\n```\n\nObviously, it is necessary to have created a project in Supabase, as we said before, to add these credentials to our application. We must also create 2 tables in our database. For this we can create them manually with the requirements of our application or execute the migration files found in the \"migrations\" folder. Alternatively we can copy the content of these 2 files in the SQL Editor of our project in Supabase and execute the corresponding SQL query:\n\n```bash\ncreate table\n  public.users (\n    id uuid not null default gen_random_uuid (),\n    created_at timestamp with time zone not null default now(),\n    username text not null,\n    email text not null,\n    password text not null,\n    constraint user_pkey primary key (id),\n    constraint user_email_key unique (email)\n  ) tablespace pg_default;\n\n# (and then)\n\ncreate table\n  public.tasks (\n    id uuid not null default gen_random_uuid (),\n    created_at timestamp with time zone not null default now(),\n    title text not null,\n    completed boolean null default false,\n    description text not null,\n    user_id uuid not null,\n    constraint task_pkey primary key (id),\n    constraint task_user_id_fkey foreign key (user_id) references \"user\" (id)\n  ) tablespace pg_default;\n```\n\n## Deployment\n\nWe can deploy our application to some service like [Render](https://render.com/), taking care to set the Supabase credentials as environment variables in Render. The command to build the application would be:\n\n```bash\n$ cd client/ \u0026\u0026 npm i \u0026\u0026 export VITE_API_URL=[THE_URL_YOU_HAVE_CHOSEN_IN_RENDER/api] \u0026\u0026 npm run build \u0026\u0026 cd .. \u0026\u0026 npm i \u0026\u0026 npm run build\n```\n\nAnd to start the server:\n\n```bash\n$ npm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femarifer%2Fsupabase-api-auth-crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femarifer%2Fsupabase-api-auth-crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femarifer%2Fsupabase-api-auth-crud/lists"}