rsnext/examples/with-supertokens
Jiachi Liu 3f83743a6e
Make next a devDependency of @next/third-parties package (#53996)
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>
2023-08-14 08:55:57 -07:00
..
config Make next a devDependency of @next/third-parties package (#53996) 2023-08-14 08:55:57 -07:00
pages Make next a devDependency of @next/third-parties package (#53996) 2023-08-14 08:55:57 -07:00
public Add Supertokens example (#21384) 2021-02-15 15:41:45 -06:00
styles examples: Update with-supertokens example app (#53434) 2023-08-14 10:09:36 -05:00
.env Updates with-supertokens example to add sign in with apple (#31200) 2021-11-12 19:54:28 -06:00
.gitignore Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
interfaces.d.ts Refactored the with-supertokens example to use typescript (#39987) 2022-08-29 12:40:26 -05:00
next-env.d.ts Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
next.config.js Update to with-supertokens example (#35991) 2022-04-11 12:22:47 +02:00
package.json Update with-supertokens example (#49804) 2023-05-15 14:25:43 -07:00
README.md docs(examples): improve DX while copying command to create new project (#38410) 2022-07-26 21:57:48 -05:00
tsconfig.json Refactored the with-supertokens example to use typescript (#39987) 2022-08-29 12:40:26 -05:00

SuperTokens Example

This is a simple set up for applications protected by SuperTokens.

How to use

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 on http://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.