{"id":30657160,"url":"https://github.com/peterkyle01/create-neon-api","last_synced_at":"2026-05-15T12:07:14.901Z","repository":{"id":312263234,"uuid":"1046939772","full_name":"peterkyle01/create-neon-api","owner":"peterkyle01","description":"A beautiful CLI tool to bootstrap clean, production-ready Rust backend projects with JWT authentication and Neon PostgreSQL database integration.","archived":false,"fork":false,"pushed_at":"2026-05-14T17:26:26.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-14T19:33:49.690Z","etag":null,"topics":["git","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/peterkyle01.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-29T13:26:53.000Z","updated_at":"2026-05-14T17:26:30.000Z","dependencies_parsed_at":"2025-12-06T12:02:22.099Z","dependency_job_id":null,"html_url":"https://github.com/peterkyle01/create-neon-api","commit_stats":null,"previous_names":["peterkyle01/create-neon-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peterkyle01/create-neon-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterkyle01%2Fcreate-neon-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterkyle01%2Fcreate-neon-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterkyle01%2Fcreate-neon-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterkyle01%2Fcreate-neon-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterkyle01","download_url":"https://codeload.github.com/peterkyle01/create-neon-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterkyle01%2Fcreate-neon-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33066166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["git","rust"],"created_at":"2025-08-31T11:10:18.336Z","updated_at":"2026-05-15T12:07:14.895Z","avatar_url":"https://github.com/peterkyle01.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-neon-api\n\n[![Crates.io](https://img.shields.io/crates/v/create-neon-api.svg)](https://crates.io/crates/create-neon-api)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nScaffold a Rust backend wired for the Neon Data API in a single command —\nno network needed, the template is embedded in the binary.\n\nThe generated project includes JWT authentication (compatible with PostgREST\nRow-Level Security), Argon2id password hashing, and an HTTP client pre-configured\nfor the Neon Data API.  No ORM, no Docker, no connection pools — just HTTP to\nyour serverless Postgres.\n\n## Install\n\n```bash\ncargo install create-neon-api\n```\n\n## Usage\n\n```bash\ncreate-neon-api                # interactive prompt\ncreate-neon-api my-api         # scaffold directly\ncreate-neon-api my-api -B      # skip cargo build\ncreate-neon-api my-api -q      # quiet (scripts / CI)\n```\n\n## What you get\n\n```\nmy-api/\n├── src/\n│   ├── main.rs            # Axum server, routes\n│   ├── config.rs          # env-based configuration\n│   ├── auth.rs            # JWT + Argon2id\n│   ├── data_api.rs        # Neon Data API HTTP client\n│   ├── errors.rs          # unified error type\n│   ├── models.rs          # request / response types\n│   ├── handlers/          # signup, login, me\n│   └── middleware/        # JWT verification\n├── migrations/            # SQL schema + RLS policies\n├── Cargo.toml\n├── justfile\n├── .env.example\n└── LICENSE\n```\n\n## After scaffolding\n\n```bash\ncd your-project\ncp .env.example .env    # add your Neon credentials\n# run migrations/schema.sql in the Neon SQL Editor\ncargo run               # → http://localhost:8080\n```\n\n## Endpoints\n\n| Method | Path      | Auth   | Description  |\n| ------ | --------- | ------ | ------------ |\n| GET    | /health   | public | health check |\n| POST   | /signup   | public | create user  |\n| POST   | /login    | public | get JWT      |\n| GET    | /me       | Bearer | user profile |\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterkyle01%2Fcreate-neon-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterkyle01%2Fcreate-neon-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterkyle01%2Fcreate-neon-api/lists"}