{"id":26408345,"url":"https://github.com/laughingclouds/quizgame","last_synced_at":"2026-02-08T21:31:18.885Z","repository":{"id":40425826,"uuid":"464764918","full_name":"laughingclouds/quizgame","owner":"laughingclouds","description":"A web based quiz game","archived":false,"fork":false,"pushed_at":"2025-12-14T12:21:38.000Z","size":2846,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-16T17:14:44.964Z","etag":null,"topics":["game","gin","golang","postgres","reactjs","reactrouter6"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/laughingclouds.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":"2022-03-01T06:03:54.000Z","updated_at":"2025-12-14T12:21:22.000Z","dependencies_parsed_at":"2025-03-17T18:54:51.901Z","dependency_job_id":null,"html_url":"https://github.com/laughingclouds/quizgame","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/laughingclouds/quizgame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laughingclouds%2Fquizgame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laughingclouds%2Fquizgame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laughingclouds%2Fquizgame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laughingclouds%2Fquizgame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laughingclouds","download_url":"https://codeload.github.com/laughingclouds/quizgame/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laughingclouds%2Fquizgame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29244653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T21:00:43.743Z","status":"ssl_error","status_checked_at":"2026-02-08T20:59:20.374Z","response_time":57,"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":["game","gin","golang","postgres","reactjs","reactrouter6"],"created_at":"2025-03-17T18:40:15.382Z","updated_at":"2026-02-08T21:31:18.869Z","avatar_url":"https://github.com/laughingclouds.png","language":"JavaScript","readme":"# quizgame\n\nA Quiz Game written in golang.\n\n\u003e Mini-Project made for the Summer Training program of my Uni\n\n## History\n\n1. [Working example using ncurses library and C++](https://github.com/laughingclouds/quizgame/tree/917462b)\n2. [Complete project using drogon framework](https://github.com/laughingclouds/quizgame/tree/def7792)\n3. Now. Rewrite in golang\n\n\n## Acknowledgement\n\nAs a novice in Go programming and Gin framework (and web development in general) I frequently referred to the [go-banking-api](https://github.com/Devansh3712/go-banking-api) project by [Devansh](https://github.com/Devansh3712). Thanks for being awesome!\n\n\n## Database\n\nWe're going to need a postgres database to start. I've already included an SQL script to create the tables and add sample data into them.\n\n- cd into project directory\n- run the below script for user `postgres` who owns a database `quizgame`\n\n\u003e Feel free to change these values to your liking\n\n```bash\npsql -U postgres -d quizgame -a -f backend/scripts/database.sql\n```\n\nQuiz game uses the following environment variables to connect to a database.\n\n| Environment Variables |\n| --------------------- |\n| QZ_HOSTNAME | \n| QZ_USERNAME |\n| QZ_PASSWORD |\n| QZ_DBNAME |\n\n```bash\nexport QZ_HOSTNAME=\"localhost\"\nexport QZ_USERNAME=\"postgres\"\nexport QZ_PASSWORD=\"PASSWORD\"\nexport QZ_DBNAME=\"quizgame\"\n```\n\n## Build\n\nRun the build script after installing the dependencies  ([below](###Install-Dependencies))\n\n```bash\nsh build.sh\n```\n\n### Install Dependencies\n\n#### Frontend\n\n- cd into frontend\n- install dependencies\n\n```bash\nyarn install\n```\n\nor\n\n```bash\nnpm install\n```\n\n#### Backend\n\n- cd into backend\n- download dependencies\n\n```bash\ngo get\n```\n\n### Alternative\n\nYou can also simply invoke individual build systems for both react and go.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaughingclouds%2Fquizgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaughingclouds%2Fquizgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaughingclouds%2Fquizgame/lists"}