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.
Prompt | Options | Description |
---|---|---|
API Type | graphql , rest | Type of API to scaffold |
ORM | prisma , knex , sequelize , typeorm | Database ORM |
API Library | apollo-server | API server library for GraphQL |
Frontend Hooks | no , react , vue , svelte , solid | Generates frontend hooks for UI layer |
Usage
boom
Run the CLI and follow the interactive prompts:
- API Type:
graphql
orrest
- ORM:
prisma
,knex
,sequelize
, ortypeorm
- 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.