{"id":19042503,"url":"https://github.com/serverless/raffleapp","last_synced_at":"2025-04-23T22:28:39.548Z","repository":{"id":65982505,"uuid":"104504938","full_name":"serverless/raffleapp","owner":"serverless","description":"A serverless raffle app","archived":false,"fork":false,"pushed_at":"2018-11-09T20:07:37.000Z","size":86,"stargazers_count":8,"open_issues_count":0,"forks_count":7,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-04-18T07:51:36.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://serverless-raffle.netlify.com/","language":"JavaScript","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/serverless.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}},"created_at":"2017-09-22T18:14:32.000Z","updated_at":"2024-08-21T02:12:12.000Z","dependencies_parsed_at":"2023-02-19T18:46:07.798Z","dependency_job_id":null,"html_url":"https://github.com/serverless/raffleapp","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/serverless%2Fraffleapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless%2Fraffleapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless%2Fraffleapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverless%2Fraffleapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serverless","download_url":"https://codeload.github.com/serverless/raffleapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250525756,"owners_count":21445073,"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":"2024-11-08T22:38:03.402Z","updated_at":"2025-04-23T22:28:39.531Z","avatar_url":"https://github.com/serverless.png","language":"JavaScript","readme":"# Raffle\n\nA simple raffle application with a backend serverless service. The service provides functionaity exposed via an HTTP API. The routes are as follows:\n\n- `POST /create`: Admin endpoint that creates a shortcode for a new raffle instance based on event name. Used to create a new raffle for an event. Returns an 8 character alphanumeric shortcode `xf4c85g9` that will be then used to do a raffle at `raffle.serverless.com/xf4c85g9`\n- `GET /{shortcode}`: Admin endpoint that starts a raffle, and picks a winner\n- `PUT /{shortcode}`: Admin endpoint that ends a raffle, and inactivates it\n- `POST /{shortcode}/register`: Public endpoint that lets user register for the raffle. Must pass in an identification method.\n\n## Rules\n\n- Admin functionality is protected by an Auth0 authorizer (/admin)\n- Users must signup and login to the Platform to enter raffle\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserverless%2Fraffleapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserverless%2Fraffleapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserverless%2Fraffleapp/lists"}