/eggjs-realworld-example-app

Real World Egg.js + Mysql backend implementations

Primary LanguageJavaScriptMIT LicenseMIT

Egg.js RealWorld Example App

build status Test coverage David deps

Example Node (Eggjs + Mysql) codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.

This repo is working — PRs and issues welcome!

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run migrate:up // create db first
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

Links

Contributors


sinchang

💻 🚇

sfyr111

💻

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!