supertokens / create-supertokens-app

CLI to create supertokens demo app easily

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SuperTokens banner

create-supertokens-app

chat on Discord

create-supertokens-app is a command line tool that lets you quickly setup and explore how SuperTokens integrates with other popular frameworks.

Usage

Using npm

Run the tool using the following command

npx create-supertokens-app

Using Bun

Run the tool using the following command

bun create supertokens-app@latest --manager=bun

You can then select the tech stack that is relevant to you.

The tool creates a folder for the created application. You can follow the instructions the tool provides to then start the application.

Additional usage options

When running the tool you can provide additional arguments.

Option About Usage
appname The folder name to be used when creating the application --appname=my-app
recipe The type of authentication you want to use --recipe=emailpassword
frontend The frontend stack to use for the application --frontend=react
backend The backend stack to use for the application --backend=node
manager Which package manager to use (npm, yarn, pnpm, bun) --manager=pnpm
autostart Whether the CLI should start the project after setting up --autostart=true

Contributing

Please refer to the CONTRIBUTING.md file in this repo.

Contact us

For any queries, or support requests, please email us at team@supertokens.io, or join our Discord server.

Authors

Created with ❤️ by the folks at SuperTokens.io.

About

CLI to create supertokens demo app easily

License:Apache License 2.0


Languages

Language:TypeScript 66.2%Language:JavaScript 12.9%Language:Python 8.3%Language:CSS 7.4%Language:Go 2.8%Language:HTML 0.8%Language:Shell 0.6%Language:Vue 0.6%Language:Astro 0.3%Language:Dockerfile 0.0%