Generates skeleton project for Mongo, Express, React, ReactNative, Node
npm install -g yo
npm install -g generator-merrnn@latest
-
Creates a new application using:
yo merrnn
-
Change to the directory of your new app:
cd <app_name>
-
yo merrnn:api
- Generates a new rest api file based on your mongo db collection name
-
yo merrnn:component
- Generates 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'
- Generates a new react component based on the following options:
- Server:
npm run server
ornpm run server:w
- Web:
npm run web
ornpm web:w
- Mobile:
npm run expo
ornpm run android
ornpm run ios