{"id":23061991,"url":"https://github.com/ohimoiza1205/restful-microservice","last_synced_at":"2026-05-01T09:31:42.352Z","repository":{"id":249475691,"uuid":"831625932","full_name":"Ohimoiza1205/RESTful-Microservice","owner":"Ohimoiza1205","description":"A project to showcase how to set up, develop, and deploy a RESTful microservice using Python's Flask framework. ","archived":false,"fork":false,"pushed_at":"2024-07-21T07:33:56.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T07:23:21.801Z","etag":null,"topics":["flask","microservices","python","restful-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Ohimoiza1205.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}},"created_at":"2024-07-21T06:14:18.000Z","updated_at":"2024-07-21T07:33:58.000Z","dependencies_parsed_at":"2024-07-21T07:26:03.067Z","dependency_job_id":"6a832e1a-5f06-462e-bc50-4a358b5bc243","html_url":"https://github.com/Ohimoiza1205/RESTful-Microservice","commit_stats":null,"previous_names":["ohimoiza1205/restful-microservice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ohimoiza1205/RESTful-Microservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ohimoiza1205%2FRESTful-Microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ohimoiza1205%2FRESTful-Microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ohimoiza1205%2FRESTful-Microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ohimoiza1205%2FRESTful-Microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ohimoiza1205","download_url":"https://codeload.github.com/Ohimoiza1205/RESTful-Microservice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ohimoiza1205%2FRESTful-Microservice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["flask","microservices","python","restful-api"],"created_at":"2024-12-16T03:19:34.505Z","updated_at":"2026-05-01T09:31:42.335Z","avatar_url":"https://github.com/Ohimoiza1205.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Developing a RESTful micro service in Python\n\n# RESTful Microservice with Flask\n\nThis project demonstrates how to build a RESTful microservice using Flask, a lightweight web server that makes it easy to develop and deploy Python-based microservices. \n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.x\n- Pip (Python package installer)\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/Ohimoiza1205/RESTful-Microservice.git\n   cd RESTful-Microservice\n\n2. Install Flask:\n\n   pip install flask\n\n## Running the Application\n- Navigate to the project directory.\n- Start the Flask server:\n  python atelier.py\n- The server will be available at http://127.0.0.1:5000.\n\n## REST Endpoints\n- GET /search: Returns the search page.\n- POST /api/greet: Accepts a JSON body with a name field and returns a greeting message.\n\n## Testing Your API\n- You can test your API using curl, Postman, or a web browser.\n\n- **For a GET Request**:\n  \n  ```bash\n  curl http://127.0.0.1:5000/api/hello\n\n- **For a POST Request**:\n  \n  ```bash\n  curl -X POST http://127.0.0.1:5000/api/greet -H \"Content-Type: application/json\" -d '{\"name\": \"Alice\"}'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohimoiza1205%2Frestful-microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohimoiza1205%2Frestful-microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohimoiza1205%2Frestful-microservice/lists"}