Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/authress/react-starter-kit
Authress Starter Kit: React
https://github.com/authress/react-starter-kit
authentication authorization authress login quick-start react starter-kit user
Last synced: 2 months ago
JSON representation
Authress Starter Kit: React
- Host: GitHub
- URL: https://github.com/authress/react-starter-kit
- Owner: Authress
- License: apache-2.0
- Created: 2023-03-12T13:16:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T14:55:03.000Z (12 months ago)
- Last Synced: 2024-02-02T13:33:44.425Z (12 months ago)
- Topics: authentication, authorization, authress, login, quick-start, react, starter-kit, user
- Language: TypeScript
- Homepage: https://authress.io
- Size: 67.4 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Authress Starter Kit: React
This repository is a repo template that contains an React example that uses Authress to Login. You can either [Fork](https://github.com/new?template_name=react-starter-kit&template_owner=Authress) this repository to start with the template, or directly clone it above.
## Getting Started
1. Fork this template repository to start a new React project: [Fork this template](https://github.com/Authress/react-starter-kit/fork)
2. Clone the new repository:```sh
git clone [email protected]:Authress/react-starter-kit.git
```3. Run `npm install` and then `npm run start`. (Or use yarn/pnpm to install dependencies and then `start` the site.)
### File Directory
* `src`
* `main.tsx` - Application Root and contains all the routes of the starter kit application
* `authressClient.tsx` - Configuration for Authress for users to login
* `routes`
* `home.tsx` - Landing page which has login and logout buttons
* `protected.tsx` - Page protected by user login via the login guard defined in the `main.tsx` file