{"id":29199001,"url":"https://github.com/dashersw/tombala","last_synced_at":"2025-07-02T09:03:30.555Z","repository":{"id":127021500,"uuid":"583792468","full_name":"dashersw/tombala","owner":"dashersw","description":"A simple tombola game","archived":false,"fork":false,"pushed_at":"2023-09-07T20:13:01.000Z","size":983,"stargazers_count":28,"open_issues_count":1,"forks_count":12,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-05T16:41:15.416Z","etag":null,"topics":[],"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/dashersw.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,"zenodo":null}},"created_at":"2022-12-30T23:51:01.000Z","updated_at":"2025-03-26T14:09:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e26e5e1-7b83-4e9e-a09b-cd461170250d","html_url":"https://github.com/dashersw/tombala","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"coyotiv/stack","purl":"pkg:github/dashersw/tombala","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashersw%2Ftombala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashersw%2Ftombala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashersw%2Ftombala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashersw%2Ftombala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashersw","download_url":"https://codeload.github.com/dashersw/tombala/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashersw%2Ftombala/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263108721,"owners_count":23415001,"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":[],"created_at":"2025-07-02T09:03:12.030Z","updated_at":"2025-07-02T09:03:30.536Z","avatar_url":"https://github.com/dashersw.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stack\n\nA starter repository for MongoDB, Node.js, and Vue.js, with a local environment based on Docker.\n\n# Installation\n\n## Running the stack\n\n```sh\n$ docker-compose up\n```\n\n## Accessing the stack from a browser\n\nThe starter stack works with a load balancer that binds to ports 80 and 443. It currently serves the domain http://stack.localhost. In order to reach the frontend through the stack, you need to edit your `hosts` file (usually under `/etc/hosts` in UNIX environments and `C:\\Windows\\System32\\Drivers\\etc\\hosts` in Windows) and add the following line:\n\n```\n127.0.0.1 stack.localhost\n```\n\nNow if you visit http://stack.localhost, you will be greeted with the frontend starter project.\n\n## Changing the local domain\n\nIf you wish to use a domain name other than http://stack.localhost, simply set the environment variable `DOMAIN` to any domain you want.\n\n```sh\n$ DOMAIN=another-domain.localhost docker-compose up\n```\n\nYou then also need to update your `hosts` file accordingly.\n\n## Debugging\n\nYou can debug the backend while it's running in VSCode. Instead of running `docker-compose up`, run the following command:\n\n```sh\n$ docker-compose -f docker-compose.yml -f docker-compose.debug.yml up\n```\n\nThis starts the backend service in the debug mode, so you can use the built-in debug task `Attach to backend` to debug your backend service.\n\n# Running tests\n\n## Running backend tests\n\n```sh\n$ cd backend\n$ npm i\n$ npm test\n```\n\n## Running frontend tests\n\n```sh\n$ cd frontend\n$ npm i\n$ npm test:unit\n$ npm test:e2e\n```\n\n# Linting\n\nRun `npm install` on the root folder and it will set up a pre-commit hook to lint the staged files. You will also have two lint commands, `npm run lint` and `npm run lint-staged` that you can run on the root folder.\n\nThese commands run the individual `lint` and `lint-staged` scripts in both the `frontend` and the `backend` folders, and they will respect individual configurations of these folders.\n\n# License\n\nMIT License\n\nCopyright (c) 2020 Coyotiv®\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashersw%2Ftombala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashersw%2Ftombala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashersw%2Ftombala/lists"}