Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronpowell/swa-github-auth-identity
https://github.com/aaronpowell/swa-github-auth-identity
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/aaronpowell/swa-github-auth-identity
- Owner: aaronpowell
- License: mit
- Created: 2021-07-12T05:06:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-16T06:02:45.000Z (over 3 years ago)
- Last Synced: 2024-11-17T19:46:57.449Z (about 2 months ago)
- Language: TypeScript
- Size: 367 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Static Web Apps GitHub Identity Sample
This repository contains a sample application showing how you can create your own user profile using the GitHub API from within Static Web Apps.
Learn more [on my blog](https://www.aaron-powell.com/posts/2021-07-16-adding-user-profiles-to-swa/) and [check out the deployed app](https://victorious-moss-09e734410.azurestaticapps.net/).
## Azure Static Website React Template
This repository contains a template for creating an [Azure Static Web App](https://docs.microsoft.com/azure/static-web-apps/?WT.mc_id=javascript-0000-aapowell) projects using React + TypeScript.
In the template there is [Create React App](https://create-react-app.dev) site using TypeScript and an `api` folder with an empty [Azure Functions](https://docs.microsoft.com/azure/functions/?WT.mc_id=javascript-0000-aapowell), also using TypeScript.
To get started, click the **Use this template** button to create a repository from this template, and check out the [GitHub docs on using templates](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template).
## Running The Application
From a terminal run `npm start` from both the repository root and `api` folder to start the two servers, the web application will be on `http://localhost:3000` and the API on `http://localhost:7071`. Alternatively, you can use the VS Code launch of `Run full stack` to run both together with debuggers attached.