{"id":21352989,"url":"https://github.com/ericmaya8a/astro-auth-example","last_synced_at":"2026-04-10T14:39:29.215Z","repository":{"id":218276342,"uuid":"745999351","full_name":"ericmaya8a/astro-auth-example","owner":"ericmaya8a","description":"A simple Auth example with Astro, Prisma and Postgres","archived":false,"fork":false,"pushed_at":"2024-01-28T19:07:26.000Z","size":349,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T17:26:20.596Z","etag":null,"topics":["astro","authentication","docker-compose","postgres","prisma","react","react-hook-form","tailwindcss","zod"],"latest_commit_sha":null,"homepage":"","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/ericmaya8a.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}},"created_at":"2024-01-20T19:30:43.000Z","updated_at":"2024-12-18T09:45:57.000Z","dependencies_parsed_at":"2024-01-26T18:29:34.877Z","dependency_job_id":"d72403ee-1159-4773-aa69-e7c320458d6b","html_url":"https://github.com/ericmaya8a/astro-auth-example","commit_stats":null,"previous_names":["ericmaya8a/astro-auth-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericmaya8a%2Fastro-auth-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericmaya8a%2Fastro-auth-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericmaya8a%2Fastro-auth-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericmaya8a%2Fastro-auth-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericmaya8a","download_url":"https://codeload.github.com/ericmaya8a/astro-auth-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826777,"owners_count":20354220,"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","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":["astro","authentication","docker-compose","postgres","prisma","react","react-hook-form","tailwindcss","zod"],"created_at":"2024-11-22T03:16:02.910Z","updated_at":"2025-12-30T19:59:27.092Z","avatar_url":"https://github.com/ericmaya8a.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv\u003e\n    \u003cimg src=\"static/images/readme.png\"/\u003e\n\u003c/div\u003e\n\n# Astro Auth Example\n\nThis is a Auth example with [prisma](https://www.prisma.io/) and [postgres](https://www.postgresql.org/) using [Astro](https://astro.build/)\n\n## 🛠️ Stack\n\n- \u003cimg src=\"static/images/astro.svg\" height=\"20\"/\u003e [Astro](https://astro.build/)\n- \u003cimg src=\"static/images/react.svg\" height=\"20\"/\u003e [React](https://react.dev/)\n- \u003cimg src=\"static/images/react-hook-form.svg\" height=\"20\"/\u003e [React Hook Form](https://react-hook-form.com/)\n- \u003cimg src=\"static/images/prisma.svg\" height=\"20\"/\u003e [Prisma.io](https://www.prisma.io/docs)\n- \u003cimg src=\"static/images/postgres.svg\" height=\"20\"/\u003e [Postgres](https://www.postgresql.org/docs/)\n- \u003cimg src=\"static/images/zod.svg\" height=\"20\"/\u003e [Zod](https://zod.dev/)\n- \u003cimg src=\"static/images/docker.svg\" height=\"20\"/\u003e [docker compose](https://docs.docker.com/compose/)\n\n## Getting Started\n\n1. Install [`docker desktop`](https://docs.docker.com/desktop/install/mac-install/)\n2. Install dependencies:\n\n```sh\nyarn install\n```\n\n3. Set your environment variables (example in `.env.example` file)\n\n4. Start postgres container, seed data and run development server:\n\n```sh\nyarn dev:up\n```\n\n5. Open [http://localhost:4321](http://localhost:4321) with your browser.\n\n## 🧞 Commands\n\nAll commands are run from the root of the project, from a terminal:\n\n| Command             | Action                                                                             |\n| :------------------ | :--------------------------------------------------------------------------------- |\n| `yarn install`      | Installs dependencies                                                              |\n| `yarn run dev:up`   | Start a postgres db with seed data and starts local dev server at `localhost:4321` |\n| `yarn run dev`      | Starts local dev server at `localhost:4321`                                        |\n| `yarn run dev:down` | Stop local dev server and remove postgres db                                       |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericmaya8a%2Fastro-auth-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericmaya8a%2Fastro-auth-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericmaya8a%2Fastro-auth-example/lists"}