Boilerplate Type Description
You can use boilerplate type like this:
bash
$ npm init egg --type=simple
Options
boilerplate type | Description |
---|---|
simple | Simple egg app boilerplate |
empty | Empty egg app boilerplate |
plugin | egg plugin boilerplate |
framework | egg framework boilerplate |
Template Engines
Build in @eggjs/view as template engine solution and support multiple render, which is called by plugin but keeping the consistent render API. Refer to how to use templates,More details on template plugin development.
Template engines available as shown below. For more template engines searching
Databases
Official maintained ORM model is egg-orm base on Leoric, and the following database plugins are currently available:
- egg-orm
- egg-sequelize
- egg-mongoose
- egg-mysql,refer to MySQL tutorials
- [egg-graphql]