{"id":20115005,"url":"https://github.com/nikos/rest_api_demo_elasticsearch","last_synced_at":"2025-08-08T13:21:27.002Z","repository":{"id":145420036,"uuid":"82896283","full_name":"nikos/rest_api_demo_elasticsearch","owner":"nikos","description":"Sample RESTful web application with Flask + Swagger, plus persisting model in Elasticsearch","archived":false,"fork":false,"pushed_at":"2023-01-10T21:23:21.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T02:41:01.739Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/nikos.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":"2017-02-23T07:09:43.000Z","updated_at":"2023-01-10T21:23:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd44ef6a-89db-4ea7-8ecc-771e0deabdf7","html_url":"https://github.com/nikos/rest_api_demo_elasticsearch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nikos/rest_api_demo_elasticsearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikos%2Frest_api_demo_elasticsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikos%2Frest_api_demo_elasticsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikos%2Frest_api_demo_elasticsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikos%2Frest_api_demo_elasticsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikos","download_url":"https://codeload.github.com/nikos/rest_api_demo_elasticsearch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikos%2Frest_api_demo_elasticsearch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269428355,"owners_count":24415309,"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-08-08T02:00:09.200Z","response_time":72,"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":[],"created_at":"2024-11-13T18:33:28.003Z","updated_at":"2025-08-08T13:21:26.958Z","avatar_url":"https://github.com/nikos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rest_api_demo_elasticsearch  [![Build Status](https://travis-ci.org/nikos/rest_api_demo_elasticsearch.svg?branch=master)](https://travis-ci.org/nikos/rest_api_demo_elasticsearch)  [![Image Info](https://images.microbadger.com/badges/image/nikos/flask-restplus-demo.svg)](https://microbadger.com/images/nikos/flask-restplus-demo)\n\nThis repository contains boilerplate code for a RESTful API based on Flask and Flask-RESTPlus in Python.\n\nThe code of this demo app is described in an article on my blog:\nhttp://michal.karzynski.pl/blog/2016/06/19/building-beautiful-restful-apis-using-flask-swagger-ui-flask-restplus/\n\nIt makes use of:\n* Python 3\n* Flask\n* Swagger UI (via `restplus`)\n* Simple model (thanks to `elasticsearch-dsl`)\n* Alpine Linux (if running as a docker container)\n\n\n## Getting Started\n\nEither build and run with the help of the provided Dockerfile\n```\nmake build\nmake run\n```\nand open up your browser on http://localhost:8000/api/ to see the\nSwagger UI and interact with the REST endpoints.\n\nOr run it locally by executing:\n```\nexport PYTHONPATH=.:rest_api_demo\npython3 rest_api_demo/app.py\n```\n\nSee corresponding elasticsearch documents by opening Kibana:\n\n    open http://localhost:5601/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikos%2Frest_api_demo_elasticsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikos%2Frest_api_demo_elasticsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikos%2Frest_api_demo_elasticsearch/lists"}