https://github.com/thirdweb-example/next-javascript-starter
thirdweb starter project with Next.js & JavaScript
https://github.com/thirdweb-example/next-javascript-starter
Last synced: 9 months ago
JSON representation
thirdweb starter project with Next.js & JavaScript
- Host: GitHub
- URL: https://github.com/thirdweb-example/next-javascript-starter
- Owner: thirdweb-example
- License: apache-2.0
- Created: 2022-03-17T23:05:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T19:58:19.000Z (about 2 years ago)
- Last Synced: 2024-02-07T20:51:14.709Z (about 2 years ago)
- Language: JavaScript
- Homepage: https://next-javascript-starter.thirdweb-example.com
- Size: 1.23 MB
- Stars: 34
- Watchers: 2
- Forks: 23
- 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 next-javascript-starter
```
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
On `pages/_app.js`, 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 and Next.js, take a look at the following resources:
- [thirdweb React Documentation](https://docs.thirdweb.com/react) - learn about our React SDK.
- [thirdweb JavaScript 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.
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [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).