Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

JavaScript Style Guide

Airapi scaffold

A node.js scaffold

Generate node.js web api framework, integrate with Docker and MongoDB.

Installing

Install by npm

$ npm install -g aircode-node

Install by yarn

$ yarn add -g aircode-node

Using

List command

$ aircode-node -h

Create a new project

$ aircode-node new <projectName>

Generate model / routes

$ cd <projectName>
$ aircode-node generate <modelName> <fieldName>:<data type(mongo support)>

Run with Docker

$ make up

Run in local

$ npm install
$ npm run dev

Database

  • MongoDB

Issues

You can report issues in here

You can’t perform that action at this time.