0.0.3 • Published 4 years ago
web-ohhc-stuffilito v0.0.3
OHHC Web
Contributing
Get a copy of dev.json
Download dependencies
npm install -g supervisor webpack webpack-cli
npm install
Run webpack watcher
npm run watch
Run local server assuming schema is at ../ohhc-schema
supervisor --watch ../ohhc-schema/lib -n exit -V .
Then open at localhost:8080
Render libs for prod
npm run build
Render vendor libs
npm run party
Use supervisor js for development.
TODO
- export joi to front end as validator
- uglify mangle issue with nes
- update handling of ext hash to cater versioning
- try and reduce the libraries on ext
- try to disable all form elements on submit
- enable them only if theres error on submit
- add default values to all elements to prevent undefined values
- fix pagination ui on mobile
- fix pagination when page is higher than pageCount
IMPORTANT
- all values must be DOMParsed
- all urls must be encoded