DSL for definition of client-side application based on AngularJS and ExpressJS backend utilizing Mongo Database, so it basically can be used as a MEAN stack application generator.
git clone https://github.com/theshammy/GenAn.git
Run genan.py in src package from command line: python genan.py source_path output_path
For more options, run python genan.py --help
.
- Arpeggio
- textX
- Jinja2
- Click
- mongoDB
- robomongo db client
- node.js and npm: https://nodejs.org/en/download/ or better:
- use nvm, follow installation manual from https://github.com/creationix/nvm and then install:
- node.js and npm v5.12:
nvm install v5.12
- express:
npm install -g express
- express generator:
npm install -g express-generator
- express cli:
npm install -g express-cli
- gulp:
npm install -g gulp
There are three concepts in GenAn:
- Object: Contains properties which are basic component or views. These properties describe how an entity should be visualized.
- View: Part of a page, containing other views or object references.
- Page: HTML page, containing views or object references.
Examples are located in test directory.
Once executed, GenAn will generate html pages described in a .gn file using the after mentioned concepts. GenAn also provides AngularJS application and node.js backend generation.
Documentation will be available soon.