Mini apps enable third-party developers to create native-like applications within World App.
This template is a way for you to quickly get started with authentication and examples of some of the trickier commands.
- cp .env.example .env.local
- Follow the instructions in the .env.local file
- Run
npm run dev
- Run
ngrok http 3000
- Run
npx auth secret
to update theAUTH_SECRET
in the .env.local file - Add your domain to the
allowedDevOrigins
in the next.config.ts file. - [For Testing] If you're using a proxy like ngrok, you need to update the
AUTH_URL
in the .env.local file to your ngrok url. - Continue to developer.worldcoin.org and make sure your app is connected to the right ngrok url
- [Optional] For Verify and Send Transaction to work you need to do some more setup in the dev portal. The steps are outlined in the respective component files.
This starter kit uses Minikit's wallet auth to authenticate users, and next-auth to manage sessions.
This starter kit uses Mini Apps UI Kit to style the app. We recommend using the UI kit to make sure you are compliant with World App's design system.
Eruda is a tool that allows you to inspect the console while building as a mini app. You should disable this in production.
This template was made with help from the amazing supercorp-ai team.