3f83743a6e
ensure `next` is the dependency of third-parties package so turbo will build next first then `@next/third-parties` to avoid type failing --------- Co-authored-by: JJ Kasper <jj@jjsweb.site> |
||
---|---|---|
.. | ||
config | ||
pages | ||
public | ||
styles | ||
.env | ||
.gitignore | ||
interfaces.d.ts | ||
next-env.d.ts | ||
next.config.js | ||
package.json | ||
README.md | ||
tsconfig.json |
SuperTokens Example
This is a simple set up for applications protected by SuperTokens.
How to use
- Execute
create-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
-
Run
yarn install
-
Run
npm run dev
to start the application onhttp://localhost:3000
.
Notes
- Take a look at SuperTokens documentation.
- We have provided development OAuth keys for the various in build third party providers in the
.env
file. Feel free to use them for development purposes, but please create your own keys for production use.