36eba95227
* copy cleanup in env. variables docs * copy cleanup in fast refresh docs * Supplements #33153 - updating existing cross-references to `master` branch to renamed default branch of `main` * Supplements #33153 - updating existing cross-references to `master` branch to renamed default branch of `main` Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
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.