{"id":39555916,"url":"https://github.com/ganeshjadhavongithub/rest-api-using-rust","last_synced_at":"2026-01-18T07:01:11.827Z","repository":{"id":310841081,"uuid":"617728320","full_name":"GaneshJadhavOnGitHub/REST-API-using-Rust","owner":"GaneshJadhavOnGitHub","description":"A simple REST API application, implemented in rust programming language.  The four API's (GET, POST, PUT, DELETE) are implemented. MongoDB is used as database.","archived":false,"fork":false,"pushed_at":"2025-08-20T13:59:34.000Z","size":1424,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-20T15:41:13.651Z","etag":null,"topics":["rest-api","rest-api-using-rust","restapi","restful-api","rust","rust-lang","rust-lang-rest-mongodb","rust-mongodb","rust-mongodb-rest-warp","rust-rest","rust-rest-mongo","rust-rest-mongo-warp","rust-rest-mongodb","rust-rest-mongodb-warp","rust-rest-warp","rust-restapi","rust-restapi-mongodb"],"latest_commit_sha":null,"homepage":"https://github.com/GaneshJadhavOnGitHub/REST-API-using-Rust","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GaneshJadhavOnGitHub.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":"2023-03-23T01:30:13.000Z","updated_at":"2025-08-20T14:36:14.000Z","dependencies_parsed_at":"2025-08-20T15:41:40.917Z","dependency_job_id":"30864ded-c7c2-4a26-a8b5-da6ea4ed62a3","html_url":"https://github.com/GaneshJadhavOnGitHub/REST-API-using-Rust","commit_stats":null,"previous_names":["ganeshjadhavongithub/rest-api-using-rust"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/GaneshJadhavOnGitHub/REST-API-using-Rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaneshJadhavOnGitHub%2FREST-API-using-Rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaneshJadhavOnGitHub%2FREST-API-using-Rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaneshJadhavOnGitHub%2FREST-API-using-Rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaneshJadhavOnGitHub%2FREST-API-using-Rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GaneshJadhavOnGitHub","download_url":"https://codeload.github.com/GaneshJadhavOnGitHub/REST-API-using-Rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaneshJadhavOnGitHub%2FREST-API-using-Rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28532580,"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":["rest-api","rest-api-using-rust","restapi","restful-api","rust","rust-lang","rust-lang-rest-mongodb","rust-mongodb","rust-mongodb-rest-warp","rust-rest","rust-rest-mongo","rust-rest-mongo-warp","rust-rest-mongodb","rust-rest-mongodb-warp","rust-rest-warp","rust-restapi","rust-restapi-mongodb"],"created_at":"2026-01-18T07:00:37.305Z","updated_at":"2026-01-18T07:01:11.796Z","avatar_url":"https://github.com/GaneshJadhavOnGitHub.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# REST-API-using-Rust\nA simple REST API application, implemented in rust programming language. The four API's (GET, POST, PUT, DELETE) are implemented. MongoDB is used as database.\n\nApplication takes information for a movie and calculates Verdict of that Movie.\n\nFeatures :-\n1. Input and Business Validations are done.\n2. Error Handling is done.\n3. Rolling JSON logs are provided.\n\n⚠️ Important Note on CORS (Cross-Origin Resource Sharing)\n\nCORS (Cross-Origin Resource Sharing) is an HTTP protocol mechanism that allows servers to specify which origins \n(domains, schemes, or ports) are permitted to access resources on the server. \nIt is primarily used to enable secure cross-origin requests, \nsuch as when a web application on one domain requests resources hosted on another domain.\n\nThis REST API currently **does not have CORS** (Cross-Origin Resource Sharing) functionality implemented.\n\nPlease refer HELP folder for any kind of help.\n\n------\nTo run application.\nRefer HELP\\Application_Requirements.txt for system requirements.\n\nClone the repository.\n\nDownload MongoDB community server zip package for windows.\nExtract ZIP.\nCreate a folder to store database.\nWe will call this folder as 'db'\nGo to bin folder of MongoDB.\nbin folder is located at the location where we have extracted MongoDB community server zip package.  \nExecute following command inside bin folder from command prompt.\nmongod --dbpath=\"\u003cPath of 'db' folder\u003e\" \nAbove steps will start MongoDB Server.\n\n\nUse MongoDB Compass to import data.\nDownload and extract MongoDBCompass and run MongoDBCompass.exe\nEnter connection string for database server running locally.\nmongodb://localhost\n\nCreate Database and Collection and then Import Data using MongoDBCompass.\n\nRefer Help\\DatabaseHelp folder for Database Schema and Collection. \n\nIn VS Code Open Thunder Client, select Collections.\nClick Menu at the right side and select Import.\nImport JSON requests collection.\nThis collection is present in file 'thunder-collection_MoviesJSON.json'. \n\nBuild and Run\n\ncargo build\n\ncargo run\n\nSend requests from Thunder Client.\n\n-------------------------\n\nOUTPUT :- \n\n\n1. POST \n\n![POST](https://user-images.githubusercontent.com/86361080/233766087-7cbe290a-2e9f-4dc3-b0fd-78c340942dac.png)\n\n\n2. GET \n\n![GET](https://user-images.githubusercontent.com/86361080/233766108-94081c3c-3da1-4b76-a2a2-8759a5b62d4a.png)\n\n\n3. PUT \n\n![PUT](https://user-images.githubusercontent.com/86361080/233766145-c47f70b8-86e7-4822-926a-3b19548cbc24.png)\n\n4. DELETE \n\n![DELETE](https://user-images.githubusercontent.com/86361080/233766161-2f0f0596-3404-4ce4-889f-84f88df8f9da.png)\n\n\n__Repository Tree Structure__\n\n```\n├── LICENSE\n├── README.md\n└── rust_mongodb_warp\n    ├── .future-incompat-report.json\n    ├── .rustc_info.json\n    ├── CACHEDIR.TAG\n    ├── Cargo.lock\n    ├── Cargo.toml\n    ├── HELP\n        ├── Application_Requirements.txt\n        ├── DatabaseHelp\n        │   ├── BoxOffice_Schema.json\n        │   ├── Database_Information.txt\n        │   └── Movies.json\n        └── thunder-collection_MoviesJSON.json\n    ├── Output\n        ├── DELETE.png\n        ├── GET.png\n        ├── POST.png\n        └── PUT.png\n    ├── boxoffice_json_log_configuration.yaml\n    └── src\n        ├── business_layer.rs\n        ├── constants.rs\n        ├── db_layer.rs\n        ├── error.rs\n        ├── handler.rs\n        ├── main.rs\n        ├── model.rs\n        ├── request_response_structs.rs\n        ├── response.rs\n        └── routes.rs\n\n```\n\n-----------\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganeshjadhavongithub%2Frest-api-using-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fganeshjadhavongithub%2Frest-api-using-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganeshjadhavongithub%2Frest-api-using-rust/lists"}