{"id":39357172,"url":"https://github.com/codeitlikemiley/server_template","last_synced_at":"2026-01-18T02:38:45.563Z","repository":{"id":212766402,"uuid":"731866345","full_name":"codeitlikemiley/server_template","owner":"codeitlikemiley","description":"Create GRPC Server in sec","archived":false,"fork":false,"pushed_at":"2024-06-12T07:50:36.000Z","size":61,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-12T12:44:44.150Z","etag":null,"topics":["cargo-generate","grpc","hyper","proto","rpc","rust","rust-lang","template","tonic"],"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/codeitlikemiley.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}},"created_at":"2023-12-15T04:09:12.000Z","updated_at":"2024-06-12T07:50:39.000Z","dependencies_parsed_at":"2023-12-16T06:42:48.196Z","dependency_job_id":"10a597be-f96b-453a-b42c-d511b2ac46b4","html_url":"https://github.com/codeitlikemiley/server_template","commit_stats":null,"previous_names":["codeitlikemiley/server_template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/codeitlikemiley/server_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeitlikemiley%2Fserver_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeitlikemiley%2Fserver_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeitlikemiley%2Fserver_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeitlikemiley%2Fserver_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeitlikemiley","download_url":"https://codeload.github.com/codeitlikemiley/server_template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeitlikemiley%2Fserver_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28526583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["cargo-generate","grpc","hyper","proto","rpc","rust","rust-lang","template","tonic"],"created_at":"2026-01-18T02:38:44.756Z","updated_at":"2026-01-18T02:38:45.540Z","avatar_url":"https://github.com/codeitlikemiley.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GRPC Server Generator\n\n[![Build Template](https://github.com/codeitlikemiley/server_template/actions/workflows/build.yml/badge.svg)](https://github.com/codeitlikemiley/server_template/actions/workflows/build.yml)\n\n## Requirements\n\nNote: Install the following before you can use the template generator.\n\n- [rust, rustup, cargo](https://www.rust-lang.org/tools/install)\n- [cargo-workspace](https://crates.io/crates/cargo-workspaces)\n- [cargo-generate](https://cargo-generate.github.io/cargo-generate/installation.html)\n- [protoc](https://grpc.io/docs/protoc-installation/)\n\n\n## Project Structure\n\n```sh\nworkspace (root)\n├── Cargo.toml\n│\n├── server \u003c-- Generate Template this from **server_template**\n│   └── .env.example\n│   └── rust-toolchain.toml\n│   └── Cargo.toml\n│   └── README.md\n│\n├── frontend\n│\n└── services\n```\n\n## Usage\n\n### Create a workspace\n\n```sh\ncd \u003cworkspace_root\u003e\ncargo workspaces init .\n```\nor you can simply create a `Cargo.toml` with this content\n\n```toml\n[workspace]\nresolver = \"2\"\nmembers = [\n    server, # \u003c- add this\n   # add here services here after you generated it\n]\n```\n\n### Generate a new GRPC server template.\n\n```sh\ncargo generate --git codeitlikemiley/server_template --name server\ncd server\n```\n\n### Build , Testing and Documentation\n\n```sh\ncargo build\ncargo test\ncargo doc --open\n```\n\n### Run  Server\n\n```sh\ncargo run -p server\n```\n\n### Adding services\n\nTo add more services please check this [Services Template Repository](https://github.com/codeitlikemiley/services_template)\n\n\n## [License](LICENSE)\n\n## Pull Requests\n\nIf you need to make changes to the template, please submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeitlikemiley%2Fserver_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeitlikemiley%2Fserver_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeitlikemiley%2Fserver_template/lists"}