{"id":20779945,"url":"https://github.com/devklick/lottery","last_synced_at":"2025-06-11T16:33:03.593Z","repository":{"id":225564528,"uuid":"766113857","full_name":"devklick/lottery","owner":"devklick","description":"A simple full-stack lottery game","archived":false,"fork":false,"pushed_at":"2024-06-29T10:14:55.000Z","size":467,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-01-18T08:45:13.209Z","etag":null,"topics":["csharp","efcore","full-stack","lottery","lottery-game","mantine","typescript"],"latest_commit_sha":null,"homepage":"","language":"C#","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/devklick.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":"2024-03-02T11:29:50.000Z","updated_at":"2024-06-29T10:14:58.000Z","dependencies_parsed_at":"2024-11-18T00:31:10.909Z","dependency_job_id":null,"html_url":"https://github.com/devklick/lottery","commit_stats":null,"previous_names":["devklick/lottery"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devklick%2Flottery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devklick%2Flottery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devklick%2Flottery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devklick%2Flottery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devklick","download_url":"https://codeload.github.com/devklick/lottery/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243120653,"owners_count":20239519,"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":["csharp","efcore","full-stack","lottery","lottery-game","mantine","typescript"],"created_at":"2024-11-17T13:30:52.970Z","updated_at":"2025-03-11T22:22:35.862Z","avatar_url":"https://github.com/devklick.png","language":"C#","readme":"# Lottery\n\n\u003e [!WARNING]\n\u003e Project status: WIP\n\u003e\n\u003e A basic lottery game where users can pick numbers, the results are drawn at random, and the users could win a prize if their numbers come up.\n\n\u003e [!NOTE]\n\u003e This is not an actual game where players can submit genuine monetary bets and win actual prizes, and there is no plan to make it this way. It's intended purely for education and fun.\n\n## Running Locally\n\n### Setting up the database\n\nThe application uses a PostgreSQL database for the data store. As such, you'll need to have a Postgres instance accessible from the machine you're running the application on. The quickest and easiest way to get up and running is to run Postgres in a Docker container.\n\nBefore running the following, replace `PASSWORD_HERE` with the password you want to use to access the postgres instance. If you want, you can also change `postgres-local` with another value - this is the name you are giving to the docker container.\n\n```\ndocker run \\\n    --name postgres-local \\\n    -p 5432:5432 \\\n    -e POSTGRES_PASSWORD=PASSWORD_HERE \\\n    -d \\\n    post\n```\n\n\u003e [!NOTE]\n\u003e The password specified here will be the main password that will be used for maintenance tasks such as creating and altering the database, but will not be used by the various applications that need to access the data.\n\nNow that the database exists, the migration needs to be applied. See the [README in Lottery.DB](./src/Lottery.DB/README.md) for more on this.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevklick%2Flottery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevklick%2Flottery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevklick%2Flottery/lists"}