JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q70635F
  • License MIT

Package Exports

  • nova-init
  • nova-init/bin/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nova-init) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Nova Init CLI

A modern CLI tool for scaffolding web applications with various frontend and backend frameworks, databases, and monorepo tools. Fast, simple, and modern – create your next application in seconds!

📦 Usage

Interactive Mode

npx nova-init

Command Line Mode

Frontend Setup

npx nova-init add frontend --framework <framework> --lang <js|ts> [--vite] [--folder <name>]

Available frontend frameworks:

  • React (default: Create React App, use --vite for Vite)
  • Next.js
  • Vue.js
  • Svelte
  • Angular
  • Nuxt.js
  • Astro
  • Remix
  • Solid
  • Qwik
  • Preact
  • Lit

Backend Setup

npx nova-init add backend --framework <framework> --lang <js|ts> [--folder <name>]

Available backend frameworks:

  • Express.js
  • NestJS
  • Fastify

Database Setup

npx nova-init add database --database <mongodb|postgres|mysql|redis> [--folder <name>]

Available databases:

  • MongoDB
  • PostgreSQL
  • MySQL
  • Redis

Monorepo Tools

npx nova-init add monorepo --tool <lerna|nx|turborepo> [--folder <name>]

Available monorepo tools:

  • Lerna
  • Nx
  • Turborepo

Tech Stack Setup

npx nova-init add techstack --folder <name> --techstack <techstack>

Available Tech Stacks:

  • MERN (MongoDB, Express, React, Node.js - JavaScript)
  • MEAN (MongoDB, Express, Angular, Node.js - JavaScript)
  • MEVN (MongoDB, Express, Vue, Node.js - JavaScript)
  • MERN_TS (MongoDB, Express, React, Node.js - TypeScript)
  • MEAN_TS (MongoDB, Express, Angular, Node.js - TypeScript)
  • MEVN_TS (MongoDB, Express, Vue, Node.js - TypeScript)

Parameters & Options

  • --framework <name>: Framework selection (required for frontend/backend)
  • --lang <js|ts>: Programming language (JavaScript/TypeScript)
  • --vite: Use Vite instead of Create React App (React only)
  • --database <name>: Database selection (required for DB setup)
  • --tool <name>: Monorepo tool selection (required for monorepo)
  • --folder <name>: Custom folder name (default: frontend/backend/database/monorepo)
  • --techstack <name>: Predefined tech stack (required for techstack setup)

🚀 Examples

Frontend Examples

# React (Create React App)
npx nova-init add frontend --framework react --lang js
# React (Vite)
npx nova-init add frontend --framework react --lang ts --vite
# Next.js
npx nova-init add frontend --framework nextjs --lang ts
# Vue.js
npx nova-init add frontend --framework vue --lang ts
# Svelte
npx nova-init add frontend --framework svelte --lang ts
# Angular
npx nova-init add frontend --framework angular
# Nuxt.js
npx nova-init add frontend --framework nuxtjs --lang ts
# Astro
npx nova-init add frontend --framework astro --lang ts
# Remix
npx nova-init add frontend --framework remix --lang ts
# Solid
npx nova-init add frontend --framework solid --lang ts
# Qwik
npx nova-init add frontend --framework qwik --lang ts
# Preact
npx nova-init add frontend --framework preact --lang ts
# Lit
npx nova-init add frontend --framework lit --lang ts

Backend Examples

# Express.js
npx nova-init add backend --framework express --lang ts
# NestJS
npx nova-init add backend --framework nestjs
# Fastify
npx nova-init add backend --framework fastify --lang ts

Database Examples

# MongoDB
npx nova-init add database --database mongodb
# PostgreSQL
npx nova-init add database --database postgres
# MySQL
npx nova-init add database --database mysql
# Redis
npx nova-init add database --database redis

Monorepo Examples

# Lerna
npx nova-init add monorepo --tool lerna --folder my-lerna-repo
# Nx
npx nova-init add monorepo --tool nx --folder my-nx-repo
# Turborepo
npx nova-init add monorepo --tool turborepo --folder my-turbo-repo

Tech Stack Examples

# MERN Stack with JavaScript
npx nova-init add techstack --folder my-mern-app --techstack MERN
# MEAN Stack with JavaScript
npx nova-init add techstack --folder my-mean-app --techstack MEAN
# MEVN Stack with JavaScript
npx nova-init add techstack --folder my-mevn-app --techstack MEVN
# MERN Stack with TypeScript
npx nova-init add techstack --folder my-mern-ts-app --techstack MERN_TS
# MEAN Stack with TypeScript
npx nova-init add techstack --folder my-mean-ts-app --techstack MEAN_TS
# MEVN Stack with TypeScript
npx nova-init add techstack --folder my-mevn-ts-app --techstack MEVN_TS

📚 Available Technologies

Backend

  • Express.js – Minimalist Node.js framework
  • NestJS – Enterprise-ready Node.js framework
  • Fastify – Fast and efficient Node.js framework

Frontend

  • React – JavaScript library for building UIs
  • Next.js – React framework for production
  • Vue.js – Progressive JavaScript framework
  • Svelte – Cybernetically enhanced web apps
  • Angular – Platform for mobile and desktop apps
  • Nuxt.js – Vue.js framework for production
  • Astro – Web framework for content websites
  • Remix – Full-stack React framework
  • Solid – JavaScript UI library
  • Qwik – Instant-loading web apps
  • Preact – Fast 3kB alternative to React
  • Lit – Simple and fast web components

Databases

  • MongoDB – NoSQL database
  • PostgreSQL – Object-relational database
  • MySQL – Relational database
  • Redis – In-memory data structure store

Monorepo Tools

  • Lerna – Tool for managing JavaScript projects
  • Nx – Smart, fast and extensible build system
  • Turborepo – High-performance build system

📝 Next Steps

After setting up your project:

  1. Change to project directory:
    cd <project-name>
  2. Install dependencies:
    npm install
  3. Start development server:
    npm run dev
    # or
    npm start
  4. For database setup:
    docker-compose up -d

💡 Tips

  • Use --help after each command for specific help
  • Combine frontend and backend for full-stack projects
  • Monorepo tools are perfect for large projects
  • Docker is required for database setup

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.