{"id":25365848,"url":"https://github.com/willguimont/simple_rust_api","last_synced_at":"2025-10-08T19:03:09.250Z","repository":{"id":236674162,"uuid":"656172122","full_name":"willGuimont/simple_rust_api","owner":"willGuimont","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-28T01:24:49.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T03:02:45.140Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willGuimont.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-06-20T11:53:54.000Z","updated_at":"2024-04-28T01:24:52.000Z","dependencies_parsed_at":"2024-04-28T06:47:50.161Z","dependency_job_id":"8b21b638-b562-4c78-b3ee-1ed174e09fcb","html_url":"https://github.com/willGuimont/simple_rust_api","commit_stats":null,"previous_names":["willguimont/simple_rust_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willGuimont/simple_rust_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willGuimont%2Fsimple_rust_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willGuimont%2Fsimple_rust_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willGuimont%2Fsimple_rust_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willGuimont%2Fsimple_rust_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willGuimont","download_url":"https://codeload.github.com/willGuimont/simple_rust_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willGuimont%2Fsimple_rust_api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263348448,"owners_count":23452888,"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":"2025-02-14T23:50:54.337Z","updated_at":"2025-10-08T19:03:04.207Z","avatar_url":"https://github.com/willGuimont.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust_api\n\n## Run\n\n```shell\ndocker run --name postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 --rm -d postgres\necho DATABASE_URL=postgres://postgres:postgres@localhost/rust_api \u003e .env\ndiesel setup\ndiesel migration run\ncargo run\n```\n\nor use docker-compose\n\n```shell\ndocker-compose up --build\n```\n\n## Query\n\n```shell\n# Create document\ncurl -X POST -H \"Content-Type: application/json\" -d '{\"title\": \"Attention is all you need\", \"url\": \"https://arxiv.org/abs/1706.03762\"}' http://localhost:8081/documents\n# Query all documents\ncurl http://localhost:8081/documents\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillguimont%2Fsimple_rust_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillguimont%2Fsimple_rust_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillguimont%2Fsimple_rust_api/lists"}