mirror of
https://github.com/eggjs/egg.git
synced 2024-12-04 07:14:30 +00:00
53 lines
1.7 KiB
Markdown
53 lines
1.7 KiB
Markdown
title: Tutorials
|
||
---
|
||
- [Quick Start](../intro/quickstart.md)
|
||
- [Progressive Development](./progressive.md)
|
||
- [RESTful API](./restful.md)
|
||
|
||
## Boilerplate Type Description
|
||
|
||
You can use boilerplate type like this:
|
||
|
||
```bash
|
||
$ egg-init --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 [egg-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](../core/view.md),More details on [template plugin development](../advanced/view-plugin.md).
|
||
|
||
Template engines available as shown below. For more template engines [searching](https://github.com/search?utf8=%E2%9C%93&q=topic%3Aegg-view&type=Repositories&ref=searchresults)
|
||
|
||
- [egg-view-nunjucks]
|
||
- [egg-view-ejs]
|
||
- [egg-view-handlebars]
|
||
- [egg-view-pug]
|
||
- [egg-view-xtpl]
|
||
|
||
## Databases
|
||
|
||
Official [ORM model WIP](https://github.com/eggjs/egg/issues/388),plugins now available:
|
||
|
||
- [egg-sequelize]
|
||
- [egg-mongoose]
|
||
- [egg-mysql],refer to [MySQL tutorials](./mysql.md)
|
||
|
||
|
||
[egg-sequelize]: https://github.com/eggjs/egg-sequelize
|
||
[egg-mongoose]: https://github.com/eggjs/egg-mongoose
|
||
[egg-mysql]: https://github.com/eggjs/egg-mysql
|
||
[egg-view]: https://github.com/eggjs/egg-view
|
||
[egg-view-nunjucks]: https://github.com/eggjs/egg-view-nunjucks
|
||
[egg-view-ejs]: https://github.com/eggjs/egg-view-ejs
|
||
[egg-view-handlebars]: https://github.com/eggjs/egg-view-handlebars
|
||
[egg-view-pug]: https://github.com/chrisyip/egg-view-pug
|
||
[egg-view-xtpl]: https://github.com/eggjs/egg-view-xtpl
|