{"id":26353623,"url":"https://github.com/ronik-v/questions_web_api","last_synced_at":"2026-05-04T16:37:25.980Z","repository":{"id":199773618,"uuid":"703723055","full_name":"ronik-v/questions_web_api","owner":"ronik-v","description":"Rest api for receiving questions for the quiz","archived":false,"fork":false,"pushed_at":"2023-10-13T04:57:29.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T11:19:17.931Z","etag":null,"topics":["api","fastapi","fastapi-api","postgresql","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ronik-v.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}},"created_at":"2023-10-11T19:29:46.000Z","updated_at":"2024-06-06T12:11:13.000Z","dependencies_parsed_at":"2023-10-12T09:31:06.544Z","dependency_job_id":null,"html_url":"https://github.com/ronik-v/questions_web_api","commit_stats":null,"previous_names":["ronik-v/questions_web_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ronik-v/questions_web_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronik-v%2Fquestions_web_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronik-v%2Fquestions_web_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronik-v%2Fquestions_web_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronik-v%2Fquestions_web_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ronik-v","download_url":"https://codeload.github.com/ronik-v/questions_web_api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronik-v%2Fquestions_web_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32616146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","fastapi","fastapi-api","postgresql","rest-api"],"created_at":"2025-03-16T11:19:11.462Z","updated_at":"2026-05-04T16:37:25.932Z","avatar_url":"https://github.com/ronik-v.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# questions_web_api\n\n## Used technology\n![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge\u0026logo=python\u0026logoColor=white)\n![PostgreSQL](https://img.shields.io/badge/PostgreSQL-316192?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white)\n![FastAPI](https://img.shields.io/badge/FastAPI-005571?style=for-the-badge\u0026logo=fastapi)\n\n## Orm\n\u003cp\u003eSQLAlchemy - 2.0.4\u003c/p\u003e\n\n# Setup\n\u003cdiv\u003e\n    \u003cul\u003e\n        \u003cli\u003e\n            \u003ch4\u003eFirst, copy the repository\u003c/h4\u003e\n            \u003cp\u003eCommand:\u003c/p\u003e\n            \u003cpre\u003egit clone https://github.com/ronik-v/questions_web_api.git\u003c/pre\u003e\n        \u003c/li\u003e\n        \u003cli\u003e\n            \u003ch4\u003eCompiling the project (docker-compose)\u003c/h4\u003e\n            \u003cp\u003eCommand:\u003c/p\u003e\n            \u003cpre\u003edocker-compose build\u003c/pre\u003e\n        \u003c/li\u003e\n        \u003cli\u003e\n            \u003ch4\u003eCreate database and use script for create Question model\u003c/h4\u003e\n            \u003cp\u003eDatabase:\u003c/p\u003e\n            \u003cpre\u003eCREATE DATABASE question_quiz;\u003c/pre\u003e\n            \u003cp\u003eRun file: .\\questions_web_api\\data\\database.py\u003c/p\u003e\n        \u003c/li\u003e\n        \u003cli\u003e\n            \u003ch4\u003eLaunch of the project\u003c/h4\u003e\n            \u003cp\u003eCommand:\u003c/p\u003e\n            \u003cpre\u003edocker-compose up\u003c/pre\u003e\n        \u003c/li\u003e\n        \u003cli\u003e\n            \u003ch4\u003eUsed libraries\u003c/h4\u003e\n            \u003ca href=\"requirements.txt\"\u003eFile with libraries versions\u003c/a\u003e\n        \u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e\n\n# Use example\n\u003cdiv\u003e\n    \u003ch4\u003eSubmitting question records to the database\u003c/h4\u003e\n    \u003cpre\u003efrom requests import post\u003cbr\u003eurl = 'http://localhost:9000/questions_api\u003cbr\u003e_json = {'questions_num': 100}\u003cbr\u003eresult = post(url, json=_json)\u003cbr\u003eprint(result.json())\u003c/pre\u003e\n    \u003cp\u003eThis post request returns the last question added to the database, \u003cb\u003efiltering out duplicates\u003c/b\u003e and at the same time saving as many queries as were specified in the post request in the \u003cb\u003e'questions_num'\u003c/b\u003e parameter\u003c/p\u003e\n\u003c/div\u003e\n\n# License\n\u003cdiv\u003e\n    \u003cp\u003eApache License 2.0, details  \u003ca href=\"LICENSE\"\u003ehere\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronik-v%2Fquestions_web_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fronik-v%2Fquestions_web_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronik-v%2Fquestions_web_api/lists"}