项目作者: fabrv

项目描述 :
Mustache based serverside rendered boilerplater for NodeJS
高级语言: JavaScript
项目地址: git://github.com/fabrv/bigojs.git
创建时间: 2020-07-05T07:30:09Z
项目社区:https://github.com/fabrv/bigojs

开源协议:MIT License

下载


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:

  1. 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:

  1. 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.

  1. cd myName
  2. npm run

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

Generate

  1. bigo generate myComponent

This will create the following files:

  1. .
  2. |- myComponent
  3. | |- myComponent.ts
  4. | |- myComponent.html

Credits

  • Author: Fabrizio Delcompare - fabrv