{"id":19002470,"url":"https://github.com/programyazar/rust_news_api","last_synced_at":"2026-04-20T12:30:22.414Z","repository":{"id":239276625,"uuid":"799081658","full_name":"ProgramYazar/rust_news_api","owner":"ProgramYazar","description":"Rust News Api","archived":false,"fork":false,"pushed_at":"2024-05-11T06:17:52.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T18:43:07.091Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProgramYazar.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":"2024-05-11T06:11:23.000Z","updated_at":"2024-05-11T06:17:55.000Z","dependencies_parsed_at":"2024-05-11T07:25:55.326Z","dependency_job_id":"6cf0f547-b818-4bc1-ae84-319c08c2a7e8","html_url":"https://github.com/ProgramYazar/rust_news_api","commit_stats":null,"previous_names":["programyazar/rust_news_api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgramYazar%2Frust_news_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgramYazar%2Frust_news_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgramYazar%2Frust_news_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgramYazar%2Frust_news_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProgramYazar","download_url":"https://codeload.github.com/ProgramYazar/rust_news_api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240027392,"owners_count":19736209,"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":"2024-11-08T18:15:20.258Z","updated_at":"2026-04-20T12:30:22.361Z","avatar_url":"https://github.com/ProgramYazar.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Language Restfull News API\n\n\n###  \u003cspan style=\"color: orange; margin-right: 20px\"\u003e Please read: \u003c/span\u003e Of course, I have not implemented all the functions such as paging, ... but in the source code you can find place holders for this purpose. This is just a demo project designed to interview only. \n\n\u003cbr\u003e\u003cbr\u003e\n\n# Project \n\n\u003cbr/\u003e\n\n\n* This project use Rocket Framework for api design, http requests like json request,...\n* i've created a very basic file cache system for caching\n* I use GNews api for backend\n\n\n## Instructions:\n* Install rust via \n```shell \ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh \n```\n\n* Get an api key from GNEWS developer portal.\n\n\n## Run Project\n\n\n### For development test command: \n```shell \nAPI_KEY=\"blablabla\" cargo run \n```\n-----------\n\n### For release test command: \n```shell \nAPI_KEY=\"blablabla\" cargo run --release\n```\n-----------\n\n\n\\\n\\\n\\\nRestfull api  endpoints for local development machine:\n\n\n```shell \n$ curl \"http://127.0.0.1:8000/searchByTitle/Best%20Programmer\"\n$ curl \"http://127.0.0.1:8000/searchByDescription/Best%20Programmer\"\n$ curl \"http://127.0.0.1:8000/searchByContent/Best%20Programmer\"\n```\n\n\\\n\\\nOfcouse, I didnt implement all functions like paging, ... but in source code you can find place holders for this purpose.\nThis is only demo. \n\n\n## todo\n* add an dotenv file for configuration\n* add comments for functions\n* implement all functions\n* create an uml or flowchart for presentation","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramyazar%2Frust_news_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogramyazar%2Frust_news_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramyazar%2Frust_news_api/lists"}