{"id":25654396,"url":"https://github.com/nadeemb53/letter-rs","last_synced_at":"2025-08-30T07:09:19.962Z","repository":{"id":70163430,"uuid":"526516993","full_name":"nadeemb53/letter-rs","owner":"nadeemb53","description":"A newsletter with actix-web and sqlx-postgres","archived":false,"fork":false,"pushed_at":"2022-08-25T15:08:36.000Z","size":232,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T07:33:46.265Z","etag":null,"topics":["actix-web","newsletter","postgresql","rust","sqlx","tracing"],"latest_commit_sha":null,"homepage":"","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/nadeemb53.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":"2022-08-19T08:05:08.000Z","updated_at":"2023-05-10T09:01:46.000Z","dependencies_parsed_at":"2023-03-11T08:09:31.097Z","dependency_job_id":null,"html_url":"https://github.com/nadeemb53/letter-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nadeemb53/letter-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadeemb53%2Fletter-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadeemb53%2Fletter-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadeemb53%2Fletter-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadeemb53%2Fletter-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nadeemb53","download_url":"https://codeload.github.com/nadeemb53/letter-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nadeemb53%2Fletter-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272816465,"owners_count":24997784,"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-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["actix-web","newsletter","postgresql","rust","sqlx","tracing"],"created_at":"2025-02-23T20:27:04.279Z","updated_at":"2025-08-30T07:09:19.932Z","avatar_url":"https://github.com/nadeemb53.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Newsletter backend\n\n![example workflow](https://github.com/nadeemb53/rs-zero2prod/actions/workflows/general.yml/badge.svg)\n\nHealth check: [production](https://zero2prod-y3ywz.ondigitalocean.app/health_check)\n\n## Pre-requisites\n\nYou'll need to install:\n\n- [Rust](https://www.rust-lang.org/tools/install)\n- [Docker](https://docs.docker.com/get-docker/)\n\nThere are also some OS-specific requirements.\n\n### Windows\n  \n```bash\ncargo install -f cargo-binutils\nrustup component add llvm-tools-preview\n```\n\n```\ncargo install --version=0.6.0 sqlx-cli --no-default-features --features postgres\n```\n\n### Linux\n\n```bash\n# Ubuntu \nsudo apt-get install lld clang libssl-dev postgresql-client\n# Arch \nsudo pacman -S lld clang postgresql\n```\n\n```\ncargo install --version=0.6.0 sqlx-cli --no-default-features --features postgres\n```\n\n### MacOS\n\n```bash\nbrew install michaeleisel/zld/zld\n```\n\n```\ncargo install --version=0.6.0 sqlx-cli --no-default-features --features postgres\n```\n\n## How to build\n\nLaunch a (migrated) Postgres database via Docker:\n\n```bash\n./scripts/init_db.sh\n```\n\nLaunch a Redis instance via Docker:\n\n```bash\n./scripts/init_redis.sh\n```\n\nLaunch `cargo`:\n\n```bash\ncargo build\n```\n\nYou can now try with opening a browser on http://127.0.0.1:8000/login after\nhaving launch the web server with `cargo run`.\n\nThere is a default `admin` account with password\n`everythinghastostartsomewhere`. The available entrypoints are listed in\n`src/startup.rs`\n\n## How to test\n\nLaunch a (migrated) Postgres database via Docker:\n\n```bash\n./scripts/init_db.sh\n```\n\nLaunch `cargo`:\n\n```bash\ncargo test \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadeemb53%2Fletter-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnadeemb53%2Fletter-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnadeemb53%2Fletter-rs/lists"}