{"id":21011008,"url":"https://github.com/samuelastech/sweepstake-cup","last_synced_at":"2026-04-08T11:32:36.778Z","repository":{"id":161032227,"uuid":"560191762","full_name":"samuelastech/sweepstake-cup","owner":"samuelastech","description":"⚽ NLW Copa | An application that allows you to create bets on football matches","archived":false,"fork":false,"pushed_at":"2023-01-03T13:19:20.000Z","size":3236,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T15:46:33.326Z","etag":null,"topics":["fastify","mysql","nextjs","nodejs","prisma","react-native","reactjs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/samuelastech.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":"2022-10-31T23:46:41.000Z","updated_at":"2024-09-09T08:37:58.000Z","dependencies_parsed_at":"2023-05-31T08:45:35.095Z","dependency_job_id":null,"html_url":"https://github.com/samuelastech/sweepstake-cup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samuelastech/sweepstake-cup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelastech%2Fsweepstake-cup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelastech%2Fsweepstake-cup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelastech%2Fsweepstake-cup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelastech%2Fsweepstake-cup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelastech","download_url":"https://codeload.github.com/samuelastech/sweepstake-cup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelastech%2Fsweepstake-cup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["fastify","mysql","nextjs","nodejs","prisma","react-native","reactjs","typescript"],"created_at":"2024-11-19T09:25:05.129Z","updated_at":"2026-04-08T11:32:36.711Z","avatar_url":"https://github.com/samuelastech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sweepstake Cup\n\n![web](web.png)\n![mobile](mobile.png)\n\nThis project was initially developed in the Next Level Week — a free event promoted by [Rocketseat](https://github.com/Rocketseat). It allows you to create sweepstakes on soccer matches with your friends.\n\n## Getting started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\nYou will need to have Node and `npm` (or other package manager) installed in your machine.\n\nClone the repository to your local machine:\n\n```shell\ngit clone https://github.com/samuelastech/sweepstake-cup.git\n```\n\n### Setting up the server\n\nGo into `server` and install its dependencies:\n\n```shell\ncd server\nnpm install\n```\n\nCreate a `.env` file and setup the environment variables — see `.env.example`.\nRun the server:\n\n```shell\nnpm run dev\n```\n\n### Setting up the mobile app\n\nGo into `mobile` and install its dependencies:\n\n```shell\ncd mobile\nnpm install\n```\n\nCreate a `.env` file and setup the environment variables — see `.env.example`.\n\nStart the application:\n\n```shell\nnpm start\n```\n\nInstall [Expo](https://play.google.com/store/apps/details?id=host.exp.exponent\u0026hl=pt_BR\u0026gl=US) app in your smartphone and scan the QR Code that will shown up in your terminal.\n\n### Setting up the web application\n\nGo into `web` and install its dependencies:\n\n```shell\ncd web\nnpm install\n```\n\nRun the application:\n\n```shell\nnpm run dev\n```\n\n## Contributing\n\nHere are some ways you can contribute:\n\n- Report bugs and request features by opening an issue;\n- Contribute code by opening a pull request;\n- Improve the documentation by suggesting edits or creating new content;\n- Help with testing by trying out new features and reporting any issues you encounter.\n\n### Submitting pull requests\n\nTo submit a pull request, follow these steps:\n\n1. Fork the repository and clone it to your local machine;\n2. Create a new branch for your changes;\n3. Make your changes and commit them to your branch;\n4. Push your changes to your fork;\n5. Open a pull request on the original repository.\n\nWhen submitting a pull request, please make sure to follow these guidelines:\n\n- Describe the changes you have made and the purpose of the changes in the pull request description;\n- Make sure that your changes are properly tested and do not break any existing functionality;\n- Keep the pull request small and focused on a single issue. If you have multiple changes that you would like to make, consider submitting them as separate pull requests.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelastech%2Fsweepstake-cup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelastech%2Fsweepstake-cup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelastech%2Fsweepstake-cup/lists"}