create-descope-app

The create-descope-app CLI tool allows you to create a new Descope application using a default template. It is a quick and easy way to get started with Descope.

Basic usage:

npx create-descope-app [project-name] [options]

Reference

OptionDescription
-h or --helpDisplay help for the command
-v or --versionDisplay version number
-t or --templateUse a specific template when creating the app

Examples

To create a new app using a template, run the following command in your terminal:

npx create-descope-app@latest

This command will prompt you to enter a project name and select a template.

What is your project named?  my-app
Would you like to use TypeScript?  No / Yes
? Please select a language/framework: (Use arrow keys)
 nextjs
  react
  angular
  remix
  html
  flutter
  swift
? Select a template for nextjs: (Use arrow keys)
 next-js-sample-app
  nextjs-demo-app-router
  nextjs-hackathon-template

Once you've entered your project name and selected a template, the CLI will create a new project with your chosen configuration.

Was this helpful?

On this page