https://github.com/zentered/auth0-vite-react-swift-demo
Demo project for authentication with Auth0 with Vite/React and a Hummingbird/Swift API
https://github.com/zentered/auth0-vite-react-swift-demo
auth0 hummingbird jwt react swift swiftserver vite
Last synced: 2 months ago
JSON representation
Demo project for authentication with Auth0 with Vite/React and a Hummingbird/Swift API
- Host: GitHub
- URL: https://github.com/zentered/auth0-vite-react-swift-demo
- Owner: zentered
- License: mit
- Created: 2021-12-13T13:56:22.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-28T12:27:16.000Z (almost 4 years ago)
- Last Synced: 2025-08-09T08:53:25.977Z (2 months ago)
- Topics: auth0, hummingbird, jwt, react, swift, swiftserver, vite
- Language: TypeScript
- Homepage: https://zentered.co/articles/auth0-with-vite-react-swift/
- Size: 14.6 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auth0 with Vite/React and Hummingbird
Demo project for authentication with Auth0 with Vite/React and a
Hummingbird/Swift API. You can read the full article here:
https://zentered.co/articles/auth0-with-vite-react-swift/To run the api, you need Swift installed. You can read everything about the
installation and setup in the
[Getting Started with Swift](https://www.swift.org/getting-started/) guide.## Installation
API:
```
cd hummingbird-jwt
cp .env.example .env
make install
```Web:
```
cd vite
cp .env.example .env
npm i --legacy-peer-deps
```Add your auth0 variables to `.env`.
React18 dependencies are still beta, so they don't resolve properly. Use the
_force_.## Usage
API:
```
cd hummingbird-jwt
make start
```Web:
```
cd vite
npm run dev
```