Skip to content
/ bigojs Public

Mustache based serverside rendered boilerplater for NodeJS

License

Notifications You must be signed in to change notification settings

fabrv/bigojs

Repository files navigation

Bigo

Mustache based boilerplater and easy generator for server-side websites and applications.

Dependencies

  • Mustache.js
  • Typescript

Install and use

Install

Get Bigo CLI via npm with the following command:

npm install -g bigojs

Start a project

To start a new Bigo project with a default autogenerated application, blank or blog, run the following command:

bigo start myName --type blog

This will generate an application with a Bigo skeleton in a diretory \myName.

Run

The Bigo CLI includes a run command that ultimately runs the main file in the package.json with ts-node.

cd myName
npm run

The project created is a Typescript NodeJs aplication, so there are multiple ways of running the application.

Generate

bigo generate myComponent

This will create the following files:

.
|- myComponent
|  |- myComponent.ts
|  |- myComponent.html

Credits

  • Author: Fabrizio Delcompare - fabrv