https://github.com/thirdweb-example/cw-jwt-auth
Add Custom JWT auth in ConnectWallet
https://github.com/thirdweb-example/cw-jwt-auth
Last synced: about 1 year ago
JSON representation
Add Custom JWT auth in ConnectWallet
- Host: GitHub
- URL: https://github.com/thirdweb-example/cw-jwt-auth
- Owner: thirdweb-example
- License: apache-2.0
- Archived: true
- Created: 2023-11-27T20:16:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T20:23:50.000Z (over 2 years ago)
- Last Synced: 2025-03-13T08:45:06.598Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://cw-jwt-auth.thirdweb-preview.com
- Size: 1.29 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Getting Started
Create a project using this example:
```bash
npx thirdweb create --template vite-typescript-starter
```
You can start editing the page by modifying `src/main.tsx`. The page auto-updates as you edit the file.
On `src/index.tsx`, you'll find our `ThirdwebProvider` wrapping your app, this is necessary for our [hooks](https://portal.thirdweb.com/react) and
[UI Components](https://portal.thirdweb.com/ui-components) to work.
## Environment Variables
To run this project, you will need to add environment variables. Check the `.env.example` file for all the environment variables required and add it to `.env.local` file or set them up on your hosting provider.
### Deploy to IPFS
Deploy a copy of your application to IPFS using the following command:
```bash
yarn deploy
```
## Learn More
To learn more about thirdweb, Vite and React, take a look at the following resources:
- [thirdweb React Documentation](https://docs.thirdweb.com/react) - learn about our React SDK.
- [thirdweb TypeScript Documentation](https://docs.thirdweb.com/react) - learn about our JavaScript/TypeScript SDK.
- [thirdweb Portal](https://docs.thirdweb.com/react) - check our guides and development resources.
- [Vite Documentation](https://vitejs.dev/guide/) - learn about Vite features.
- [React documentation](https://reactjs.org/) - learn React.
- [Templates](https://thirdweb.com/templates)
You can check out [the thirdweb GitHub organization](https://github.com/thirdweb-dev) - your feedback and contributions are welcome!
## Join our Discord!
For any questions, suggestions, join our discord at [https://discord.gg/thirdweb](https://discord.gg/thirdweb).