https://github.com/thirdweb-example/next-starter
thirdweb SDK + Next.js (app router)
https://github.com/thirdweb-example/next-starter
Last synced: 12 months ago
JSON representation
thirdweb SDK + Next.js (app router)
- Host: GitHub
- URL: https://github.com/thirdweb-example/next-starter
- Owner: thirdweb-example
- Created: 2024-02-23T18:10:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-15T17:07:05.000Z (almost 2 years ago)
- Last Synced: 2024-05-16T05:38:46.900Z (almost 2 years ago)
- Language: TypeScript
- Homepage: https://next-starter.thirdweb-example.com
- Size: 1.3 MB
- Stars: 14
- Watchers: 4
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# thirdweb-next-starter
Starter template to build an onchain react native app with [thirdweb](https://thirdweb.com/) and [next](https://nextjs.org/).
## Installation
Install the template using [thirdweb create](https://portal.thirdweb.com/cli/create)
```bash
npx thirdweb create app --next
```
## Environment Variables
To run this project, you will need to add the following environment variables to your .env file:
`CLIENT_ID`
To learn how to create a client ID, refer to the [client documentation](https://portal.thirdweb.com/typescript/v5/client).
## Run locally
Install dependencies
```bash
yarn
```
Start development server
```bash
yarn dev
```
Create a production build
```bash
yarn build
```
Preview the production build
```bash
yarn start
```
## Resources
- [Documentation](https://portal.thirdweb.com/typescript/v5)
- [Templates](https://thirdweb.com/templates)
- [YouTube](https://www.youtube.com/c/thirdweb)
- [Blog](https://blog.thirdweb.com)
## Need help?
For help or feedback, please [visit our support site](https://thirdweb.com/support)