Converts Mongoose schema to React form which works on both client and server i.e. with or without Javascript enabled in browser (progressive enhancement).
# Clone this repo locally in a new folder
$ git clone git@github.com:aamirafridi/MongooseReactForm.git .
$ npm install
$ npm install -g mongodb
Open 3 terminal tabs and run
$ npm run watch-assets
$ npm run db
$ npm run watch
Lint will run when you commit something
npm run lint
Open browser and hit http://127.0.0.1:3000/demo
- Templates for each type of inputs
- Tests
- Serialize inputs (expose refs)
- Publish to npm