{"id":23163130,"url":"https://github.com/playfab/winter-starfall","last_synced_at":"2025-04-04T20:36:12.888Z","repository":{"id":257989414,"uuid":"866678920","full_name":"PlayFab/winter-starfall","owner":"PlayFab","description":"PlayFab demo game showcasing Economy v2, Azure Functions, and more","archived":false,"fork":false,"pushed_at":"2024-10-21T01:03:48.000Z","size":23920,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-21T04:29:35.051Z","etag":null,"topics":["game","playfab","playfab-apis","react","typescript"],"latest_commit_sha":null,"homepage":"https://winterstarfall.azureedge.net/","language":"TypeScript","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/PlayFab.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":"2024-10-02T17:25:09.000Z","updated_at":"2024-10-15T22:16:37.000Z","dependencies_parsed_at":"2024-10-22T04:15:38.418Z","dependency_job_id":null,"html_url":"https://github.com/PlayFab/winter-starfall","commit_stats":null,"previous_names":["playfab/winter-starfall"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlayFab%2Fwinter-starfall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlayFab%2Fwinter-starfall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlayFab%2Fwinter-starfall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlayFab%2Fwinter-starfall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlayFab","download_url":"https://codeload.github.com/PlayFab/winter-starfall/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249028,"owners_count":20908202,"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":["game","playfab","playfab-apis","react","typescript"],"created_at":"2024-12-18T00:16:25.902Z","updated_at":"2025-04-04T20:36:12.863Z","avatar_url":"https://github.com/PlayFab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Winter Starfall\n\nThis is an [Azure PlayFab](https://www.playfab.com) demo game showcasing Economy v2, Azure Functions, and more.\n\nPlay this game at [winterstarfall.com](https://www.winterstarfall.com/).\n\nIf you have a free PlayFab developer account, you can [view this title in Game Manager](https://developer.playfab.com/en-us/F8941/dashboard).\n\nTo use a Microsoft or Google account, play Winter Starfall at [winterstarfall-unofficial.com](https://www.winterstarfall-unofficial.com/).\n\n# Website\n\n## Prerequisites\n\n-   [Node JS](https://nodejs.org) (v20 or higher)\n-   [Visual Studio Code](https://code.visualstudio.com) (optional)\n\n## Setup\n\n1. Clone this repository\n    ```bash\n    git clone https://github.com/PlayFab/winter-starfall.git\n    ```\n1. In VS Code, select **File \u0026gt; Open Folder**\n1. Select the `/website` folder\n1. Choose to install all recommended extensions\n1. Select **Terminal \u0026gt; New Terminal**\n1. Run `npm install` to install all dependencies\n\n## Running the site\n\n1. In the `/website` folder, run `npm run dev` to start the site\n1. Click on the link it offers (should be `localhost:5173`) to view the site\n\n## Building the site\n\n1. In the `/website` folder, run `npm run build` to build the site\n1. The output will be in the `/website/dist` folder\n\n# Azure functions\n\nAzure Functions in C# are available in the `/azure-functions` folder. You can run these locally or [deploy the project to Azure](https://learn.microsoft.com/en-us/azure/azure-functions/functions-develop-vs-code).\n\n# Social logins\n\nThis game allows players to sign in using Microsoft, Google, and Facebook accounts.\n\nTo enable these logins, you will need to create apps with each provider and set up the appropriate credentials in [PlayFab Game Manager](https://developer.playfab.com).\n\nThen modify `website\\src\\main.tsx` with the appropriate client IDs.\n\n-   **Microsoft:** [Single-page application: App registration](https://learn.microsoft.com/en-us/entra/identity-platform/scenario-spa-app-registration)\n-   **Google:** [Integrating Google Sign-In into your web app](https://developers.google.com/identity/sign-in/web/sign-in)\n-   **Facebook:** [Facebook Login for the Web with the JavaScript SDK](https://developers.facebook.com/docs/facebook-login/web)\n\n# Contact\n\n-   **Email:** \u003ca href=\"mailto:jordan.roher@microsoft.com\"\u003eJordan Roher\u003c/a\u003e\n-   **Discord:** [PlayFab Community](https://discord.com/invite/msftgamedev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayfab%2Fwinter-starfall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplayfab%2Fwinter-starfall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayfab%2Fwinter-starfall/lists"}