{"id":21901058,"url":"https://github.com/naspredam/rest-rust-users","last_synced_at":"2026-05-02T18:32:10.376Z","repository":{"id":263126686,"uuid":"308903025","full_name":"naspredam/rest-rust-users","owner":"naspredam","description":"User management service","archived":false,"fork":false,"pushed_at":"2020-11-06T02:40:53.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T06:16:23.778Z","etag":null,"topics":["diesel-rs","mysql","mysql-database","rest-api","rust","rust-lang"],"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/naspredam.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":"2020-10-31T14:44:17.000Z","updated_at":"2020-11-06T02:40:55.000Z","dependencies_parsed_at":"2024-11-20T11:01:01.911Z","dependency_job_id":null,"html_url":"https://github.com/naspredam/rest-rust-users","commit_stats":null,"previous_names":["naspredam/rest-rust-users"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/naspredam/rest-rust-users","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naspredam%2Frest-rust-users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naspredam%2Frest-rust-users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naspredam%2Frest-rust-users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naspredam%2Frest-rust-users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naspredam","download_url":"https://codeload.github.com/naspredam/rest-rust-users/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naspredam%2Frest-rust-users/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278877092,"owners_count":26061381,"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-08T02:00:06.501Z","response_time":56,"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-rs","mysql","mysql-database","rest-api","rust","rust-lang"],"created_at":"2024-11-28T15:12:07.240Z","updated_at":"2025-10-08T02:18:13.344Z","avatar_url":"https://github.com/naspredam.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rest-rust-users\n\nThis project has as objective to have a rest api build on:\n\n- Rust (nightly) 1.49.0-nightly\n- Diesel\n- Rocket\n- MySQL (8.0.22)\n\nUsing standard rest/web strategy, non-reactive.\n\n## What the rest api stands for\n\nThe rest will have the resource:\n\n```vim\n/users\n```\n\nWhere the endpoints exposed are:\n\n| Method | Endpoint | Description  |\n| ---    |:------- |:-----|\n|GET| /users | Get all the users |\n|POST| /users | Create a new user |\n|PUT| /users/{user_id} | Update specific user data |\n|GET| /users/{user_id} | Get specific user data |\n|DELETE| /users/{user_id} | Delete specific user data |\n\n## Run application\n\nThis project has been set to run under docker.\n\nTo run the application the `Makefile` has been set to:\n\n- start: to start the application in docker\n- stop: stop and drop the containers\n- restart: does stop and start\n- logs: display the logs of the deployed docker containers\n\nSo, the `start` action will do:\n\n- build the image, which will compile the code as a builder inside of a rust docker image\n- start the containers of the database (mysql) and service\n\nThe `stop` action will do:\n\n- stop the application and database\n- destroy the containers for the application and the database\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaspredam%2Frest-rust-users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaspredam%2Frest-rust-users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaspredam%2Frest-rust-users/lists"}