Skip to content

okto-hq/okto-sdk-create-okto-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-okto-app

create-okto-app is a command-line tool to quickly set up new Okto SDK projects with React or Next.js templates.

Features

  • Easy-to-use interactive CLI
  • Supports React and Next.js templates
  • Automatically clones template repositories
  • Sets up project structure and installs dependencies

Prerequisites

  • Node.js (version 18 or higher recommended)
  • npm (comes with Node.js)
  • Git

Installation

You can use npx to run create-okto-app without installing it globally:

npx create-okto-app

Or, you can install it globally using npm:

npm install -g create-okto-app

Usage

  1. Open your terminal.
  2. Run the following command:
npx create-okto-app
  1. Follow the interactive prompts:

    • Choose a template (React, React Native or Next.js)
    • Enter your project name
  2. The tool will create a new directory with your project name, clone the appropriate template, and install dependencies.

  3. Once finished, navigate to your project directory and start the development server:

cd your-project-name
npm start

Templates

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

This is the official repo for npx create-okto-app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published