{"id":20173061,"url":"https://github.com/ohmycloud/zero2prod","last_synced_at":"2025-07-18T03:34:58.727Z","repository":{"id":219117108,"uuid":"747746929","full_name":"ohmycloud/zero2prod","owner":"ohmycloud","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-14T04:54:03.000Z","size":266,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-15T13:36:57.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/ohmycloud.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,"zenodo":null}},"created_at":"2024-01-24T15:04:59.000Z","updated_at":"2025-04-14T04:54:06.000Z","dependencies_parsed_at":"2024-03-25T17:37:34.139Z","dependency_job_id":"116c7242-ee69-409c-9c9f-eed858655639","html_url":"https://github.com/ohmycloud/zero2prod","commit_stats":null,"previous_names":["ohmycloud/zero2prod"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ohmycloud/zero2prod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmycloud%2Fzero2prod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmycloud%2Fzero2prod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmycloud%2Fzero2prod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmycloud%2Fzero2prod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohmycloud","download_url":"https://codeload.github.com/ohmycloud/zero2prod/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmycloud%2Fzero2prod/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265696753,"owners_count":23812841,"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":[],"created_at":"2024-11-14T01:33:20.429Z","updated_at":"2025-07-18T03:34:58.718Z","avatar_url":"https://github.com/ohmycloud.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Migrate\n\n```bash\npsql -h localhost -p 5432 -U postgres\ncreate database newsletter;\ncreate database subscriptions;\nsqlx migrate run --database-url=postgres://postgres:password@127.0.0.1:5432/newsletter\n\n# or use this script\nSKIP_DOCKER=true ./scripts/init_db.sh\n```\n\n# Redis setup\n\n```bash\n. ./scripts/init_redis.sh\n```\n\n# How to use\n\n```bash\ncurl http://127.0.0.1:8000/health_check\n\n# Send an email with curl\ncurl \"https://api.postmarkapp.com/email\" \\\n  -X POST \\\n  -H \"Accept: application/json\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Postmark-Server-Token: POSTMARK_API_TEST\" \\\n  -d '{\"From\": \"cloud@ohmycloudy.uk\", \"To\": \"cloud@ohmycloudy.uk\", \"Subject\": \"Hello from Postmark\", \"HtmlBody\": \"\u003cstrong\u003eHello\u003c/strong\u003e dear Postmark user.\"}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohmycloud%2Fzero2prod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohmycloud%2Fzero2prod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohmycloud%2Fzero2prod/lists"}