0.1.4 • Published 9 years ago
generator-merrnn v0.1.4
MERRnN Generator
Generates skeleton project for Mongo, Express, React, ReactNative, Node
Installation
npm install -g yonpm install -g generator-merrnn@latest
Usage
Creates a new application using:
yo merrnn
Change to the directory of your new app:
cd <app_name>
Generators
yo merrnn:api- Generates a new rest api file based on your mongo db collection name
yo merrnn:componentGenerates a new react component based on the following options:
- 'Basic Stateless'
- 'Basic Stateful'
- 'Advance Stateful'
- 'Basic Read All'
- 'Basic Read By Id'
- 'Basic Create'
- 'Basic Update By Id'
Running your project
- Server:
npm run serverornpm run server:w - Web:
npm run webornpm web:w - Mobile:
npm run expoornpm run androidornpm run ios