Getting Started

Quick start guide and basic concepts

Installation

npm install -g boom-cli

Command: boom

Scaffold a full-stack app with backend and (optional) frontend integration.

PromptOptionsDescription
API Typegraphql, restType of API to scaffold
ORMprisma, knex, sequelize, typeormDatabase ORM
API Libraryapollo-serverAPI server library for GraphQL
Frontend Hooksno, react, vue, svelte, solidGenerates frontend hooks for UI layer

Usage

boom

Run the CLI and follow the interactive prompts:

  • API Type: graphql or rest
  • ORM: prisma, knex, sequelize, or typeorm
  • API Library: e.g. apollo-server for GraphQL
  • Frontend Hooks: Choose a frontend framework (or none)

Example

$ boom ? Which API Type? › graphql ? Which ORM would you like to use? › prisma ? Which API uiLibrary? › apollo-server ? Include Frontend hooks? › react

The generator will create a complete backend (and optional frontend) project in the build/ folder.