{"id":16454479,"url":"https://github.com/sarthakpranesh/questioner","last_synced_at":"2026-05-10T13:02:40.990Z","repository":{"id":100196273,"uuid":"295314162","full_name":"sarthakpranesh/Questioner","owner":"sarthakpranesh","description":"The Questioner is a simple and generic REST API that can be used to develop a Question and Answer game with custom auth or OAuth ( created under #100DaysOfCode challenge )","archived":false,"fork":false,"pushed_at":"2020-09-24T15:59:50.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-09T17:54:04.730Z","etag":null,"topics":["100daysofcode","game","golang","mongodb","questioner","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/sarthakpranesh.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":"2020-09-14T05:35:29.000Z","updated_at":"2020-10-14T13:59:45.000Z","dependencies_parsed_at":"2023-05-12T19:30:34.441Z","dependency_job_id":null,"html_url":"https://github.com/sarthakpranesh/Questioner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakpranesh%2FQuestioner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakpranesh%2FQuestioner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakpranesh%2FQuestioner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarthakpranesh%2FQuestioner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sarthakpranesh","download_url":"https://codeload.github.com/sarthakpranesh/Questioner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240943024,"owners_count":19882329,"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":["100daysofcode","game","golang","mongodb","questioner","rest-api"],"created_at":"2024-10-11T10:19:07.472Z","updated_at":"2026-05-10T13:02:35.956Z","avatar_url":"https://github.com/sarthakpranesh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Questioner\n\n![GitHub repo size](https://img.shields.io/github/repo-size/sarthakpranesh/Questioner)\n[![GitHub issues](https://img.shields.io/github/issues/sarthakpranesh/Questioner)](https://github.com/sarthakpranesh/Questioner/issues)\n[![GitHub pull requests](https://img.shields.io/github/issues-pr/sarthakpranesh/Questioner)](https://github.com/sarthakpranesh/Questioner/pulls)\n[![GitHub Repo stars](https://img.shields.io/github/stars/sarthakpranesh/Questioner)](https://github.com/sarthakpranesh/Questioner/stargazers)\n![GitHub](https://img.shields.io/github/license/sarthakpranesh/Questioner)\n\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n## Introduction\nMany online games and competitions like various CTFs or events like [Enigma](https://github.com/IEEE-VIT/enigma6) have something in common and that is a simple Question and Answer model that the main backend service is made to handle. Questioner is this common Question and Answer backend service that can be easily used to host such an online event. This would help the team focus more on structuring questions, investing more time in frontend and other aspects of the event.\n\n\u003cbr /\u003e\n\n## Technologies Used\n- Go Lang\n- Mongo Atlas Database\n- Gorilla Mux\n- godotenv\n- jwt-go\n\n\u003cbr /\u003e\n\n## For Developers\nMake sure you have go installed\n\nFor local development\n1. `git clone https://github.com/sarthakpranesh/Questioner`\n2. `cd Questioner`\n3. create a `.env` file and add the following content\n    ```\n    MONGO_URL = \"\u003cyour mongo cluster connection URL\u003e\"\n    ADMIN_PASSWORD = \"\u003cyour admin password\u003e\"\n    PORT = \"\u003cyour port number\u003e\"\n    ```\n    here the `ADMIN_PASSWORD` is used as an key to authenticate creation and deletion of questions\n3. `go mod tidy`\n4. `go run main.go` - you'll have to restart the server each time you make a change to see its affect\n\nFor hosting their is a docker file included in the project that can be easily used to build and host a docker image of the project.\n\n\u003cbr /\u003e\n\n## Documentation\nThe End Points are tested and documented using Postman and the collection can be accessed from link below\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://documenter.getpostman.com/view/7649159/TVKFzFn6)\n\n\u003cbr /\u003e\n\n## Found Something Broken\nIf you find any bug, vulnerability, or have any feature suggestion please feel free to open an Issue [here](https://github.com/sarthakpranesh/Questioner/issues)\n\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n##### Made with ❤️\n\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarthakpranesh%2Fquestioner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarthakpranesh%2Fquestioner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarthakpranesh%2Fquestioner/lists"}