https://github.com/sky-uk/nemo
Rendering form elements and validating user input. It supports a modified version of the siren data structure to dynamically construct the form.
https://github.com/sky-uk/nemo
Last synced: 9 months ago
JSON representation
Rendering form elements and validating user input. It supports a modified version of the siren data structure to dynamically construct the form.
- Host: GitHub
- URL: https://github.com/sky-uk/nemo
- Owner: sky-uk
- License: bsd-3-clause
- Created: 2015-07-22T15:56:57.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-09-09T15:16:35.000Z (over 9 years ago)
- Last Synced: 2023-07-07T11:01:59.262Z (almost 3 years ago)
- Language: JavaScript
- Homepage:
- Size: 644 KB
- Stars: 18
- Watchers: 13
- Forks: 4
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Congratulations! You found Nemo!
This project is for rendering form elements and validating user input.
It will NOT:
- Render labels for elements
- Fetch any data
- Submit the form
## Getting Started
##### If you don't have node run:
`./setup_node.sh`
Which will install nvm and node and run npm install
##### If you do have node:
The usual `npm install`
(You can install grunt globally and replace all local paths to grunt-cli with just `grunt`)
#### For developement locally:
`node_modules/grunt-cli/bin/grunt dev`
This will concat the js and start an express server on `localhost:3333` with / pointing to the root folder, along with a watcher.
There's a sample page available at `localhost:3333/app/sample/index.html`
#### For creating a distributable (unminifined):
`node_modules/grunt-cli/bin/grunt build`
#### For creating a distributable (minifined):
`node_modules/grunt-cli/bin/grunt build-and-min`
## Tests
The test suite can be launched by triggering the following command:
`{path-to-node} node_modules/karma/bin/karma start test/conf/karma.conf.js --browsers=Chrome --reporters=dots`
## Documentation
The [Wiki space](https://github.com/sky-uk/nemo/wiki) contains a list of references to the Nemo APIs and components. A development guide will be added soon.
## Contributing
To contribute please check the [contributing guidelines](https://github.com/sky-uk/nemo/blob/master/CONTRIBUTING.md)