f6c62d3b89
Co-authored-by: Lee Robinson <me@leerob.io> |
||
---|---|---|
.. | ||
config | ||
pages | ||
public | ||
styles | ||
.env | ||
.gitignore | ||
package.json | ||
README.md |
SuperTokens Example
This is a simple set up for applications protected by SuperTokens.
How to use
- Execute
create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example with-supertokens with-supertokens-app
# or
yarn 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.