0.2.1 • Published 9 years ago
prata v0.2.1
This is a beta version.
Prata
Prata allows you to generate and/edit data in 3 easy steps:
- Add a schema following the json-schema.org standards.
- Edit data based on this structure via a user friendly or code editor.
- You can now GET, POST your data from anywhere.
It is a Nodejs application based on typicode/json-server and jdorn/json-editor.
Therefore we advice you to read the documentation of those two projects before getting started.
Installation
You need to Nodejs installed on your computer/server.$ npm install
to install all dependencies required by the project.$ npm start
to run a webserver at http://localhost:3000/.
Development
$ npm run dev
to build the project, start the server and watch/rebuild HTML, CSS and JS.
Under the hood, we're using:
- jshint and browserify to lint and manage client-side JS.
- LESS to pre-process CSS.
- Metalsmith to generate HTML from Handlebars templates.
Libraries
CSS
JS
- jQuery latest and Bootstrap because why not.
- CodeMirror to edit schema and data.
- Faker to generate fake data used via Handlebars helpers.
- Handlebars as a json-editor dependency to populate fields with dynamic values.
- jsonlint to lint json before posting to server.
- json-editor to provide a user friendly interface to edit JSON.