{"id":28566675,"url":"https://github.com/orhanbalci/rocket-template","last_synced_at":"2025-10-06T04:58:33.882Z","repository":{"id":113617132,"uuid":"84313905","full_name":"orhanbalci/rocket-template","owner":"orhanbalci","description":"Rocket Rest api project template","archived":false,"fork":false,"pushed_at":"2017-06-21T05:26:19.000Z","size":3673,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T15:11:40.697Z","etag":null,"topics":["diesel","rest-api","rocket","rust"],"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/orhanbalci.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,"zenodo":null}},"created_at":"2017-03-08T11:39:53.000Z","updated_at":"2022-08-04T14:46:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"378a40e1-ea24-47ed-b560-2c66f7d75161","html_url":"https://github.com/orhanbalci/rocket-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/orhanbalci/rocket-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orhanbalci%2Frocket-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orhanbalci%2Frocket-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orhanbalci%2Frocket-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orhanbalci%2Frocket-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orhanbalci","download_url":"https://codeload.github.com/orhanbalci/rocket-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orhanbalci%2Frocket-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278561279,"owners_count":26006954,"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-10-06T02:00:05.630Z","response_time":65,"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":["diesel","rest-api","rocket","rust"],"created_at":"2025-06-10T15:11:31.374Z","updated_at":"2025-10-06T04:58:33.877Z","avatar_url":"https://github.com/orhanbalci.png","language":"Rust","readme":"# Rocket-Template\n\nThis is a REST API project template that uses [Rocket](https://github.com/SergioBenitez/Rocket) framework with [Diesel](https://github.com/diesel-rs/diesel) ORM backed up with Postgresql database. You can generate project skeleton using  porteurbars.\n\n- In order to create project you need to install [porteurbars](https://github.com/softprops/porteurbars) first.\n- Run \n ```porteurbars orhanbalci/rocket-template your_project_directory```\n- You need nightly version of Rust for [Rocket](https://github.com/SergioBenitez/Rocket).\n ```rustup default nightly```\n- Install diesel_cli.\n  ```\n     apt get install libsqlite3-dev\n     apt get install libmysqlclient-dev\n     apt get install libpq-dev\n     cargo install diesel_cli\n  ```\n- Run database migration from your project directory. First make sure you have a working database url in your .env file.\n    ```disel migration run```\n- Ignite your diesel powered rocket api \n    ```cargo run```\n- Skeleton code is taken from [mgattozi](https://github.com/mgattozzi/mgattozzi)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forhanbalci%2Frocket-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forhanbalci%2Frocket-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forhanbalci%2Frocket-template/lists"}