Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dniel/forwardauth-spademo
Sample SPA application for ForwardAuth
https://github.com/dniel/forwardauth-spademo
authentication authorization forwardauth oauth2 react traefik typescript
Last synced: 15 days ago
JSON representation
Sample SPA application for ForwardAuth
- Host: GitHub
- URL: https://github.com/dniel/forwardauth-spademo
- Owner: dniel
- License: apache-2.0
- Created: 2020-06-24T16:28:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T20:22:03.000Z (over 2 years ago)
- Last Synced: 2024-10-15T01:47:24.513Z (3 months ago)
- Topics: authentication, authorization, forwardauth, oauth2, react, traefik, typescript
- Language: TypeScript
- Homepage:
- Size: 2.29 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ForwardAuth SPA-demo
Simple React + Typescript SPA application for demo of authorization
and authentication using Forwardauth backend in a SPA client.## Overview
Should write a quick overview of the application architecture with main points of interest.
# Developing
Developing locally is done with `webpack-dev-server` and is run on port 3000
Hot reload and history API fallback are enabled by default```
$ npm start
```# Building
```
$ npm run build
```## Measure build performance
If the build process seems to be slower than it should you can run the following
command to analyze where bottlenecks might occur.```
$ npm run build:measure
```## Analyzing bundle size
Performance budget has been enabled for the application. If you get warnings
about bundle size when building you have exceeded the build size set by the budget.
Consider use of code splitting or analyze your bundle with the following command```
$ make analyze
```## Production
Publish new docker image to DockerHub and Spinnaker will trigger a Pipeline that
automaticaly deploys the image to development and beta kubernetes cluster.
After waiting for user confirmation the pipeline if user approve release
deploy it into the production cluster.## Tech
- Nginx
- Docker
- HTML
- React + Hooks
- TypeScript