examples/with-supertokens/README.md
This is a simple application that is protected by SuperTokens. This app uses the Next.js app directory.
create-next-appcreate-next-app with npm, Yarn, or pnpm to bootstrap the example:npx create-next-app --example with-supertokens with-supertokens-app
yarn create next-app --example with-supertokens with-supertokens-app
pnpm create next-app --example with-supertokens with-supertokens-app
create-supertokens-appnpx create-supertokens-app@latest --frontend=next
yarn create-supertokens-app@latest --frontend=next
pnpm create-supertokens-app@latest --frontend=next
Follow the instructions after create-supertokens-app has finished
/app/config/backend.ts file. Feel free to use them for development purposes, but please create your own keys for production use.