Starting with Godspeed's Node.js framework.
In this section, you will learn how to install the Godspeed framework using the command line interface (CLI) and how to either create a new project with the framework or integrate Godspeed into an existing project in NodeJS.
groovy
can be used.Pre-requisites:
- Node 18 and npm
- Git
- VS Code or any code editor
Demonstration
Installation
Godspeed CLI is the command center of a Godspeed project. It allows you to create & manage your Godspeed project. It is shipped via npm. You can go ahead and install it using the below command.
npm install -g @godspeedsystems/godspeed
Try running in the below command line to see available Godspeed commands. Refer the full CLI spec for more information.
godspeed --help
,_, ╔════════════════════════════════════╗
(o,o) ║ Welcome to Godspeed ║
({___}) ║ World's First Meta Framework ║
" " ╚════════════════════════════════════╝
Usage: Godspeed CLI [options] [command]
CLI tool for godspeed framework.
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
create [options] <projectName> create a new godspeed project.
dev run godspeed development server.
clean clean the previous build.
gen-crud-api scans your prisma datasources and generate
CRUD APIs events and workflows
build build the godspeed project.
devops-plugin manage(add, remove, update) godspeed plugins
for devops.
plugin manage(add, remove, update) eventsource and
datasource plugins for godspeed.
prisma proxy to prisma commands with some add-on
commands to handle prisma datasources.
help [command] display help for command
For detailed documentation visit https://godspeed.systems