https://github.com/eggjs-community/eggjs-realworld-example-app
Real World Egg.js + Mysql backend implementations
https://github.com/eggjs-community/eggjs-realworld-example-app
egg jwt realworld
Last synced: 3 months ago
JSON representation
Real World Egg.js + Mysql backend implementations
- Host: GitHub
- URL: https://github.com/eggjs-community/eggjs-realworld-example-app
- Owner: eggjs-community
- License: mit
- Created: 2018-04-11T03:02:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T03:52:11.000Z (over 3 years ago)
- Last Synced: 2025-05-14T08:13:39.522Z (5 months ago)
- Topics: egg, jwt, realworld
- Language: JavaScript
- Homepage: https://eggjs-realworld.herokuapp.com/
- Size: 110 KB
- Stars: 36
- Watchers: 3
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Egg.js RealWorld Example App
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url][travis-image]: https://img.shields.io/travis/eggjs-community/eggjs-realworld-example-app.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs-community/eggjs-realworld-example-app
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs-community/eggjs-realworld-example-app.svg?style=flat-square
[codecov-url]: https://codecov.io/gh/eggjs-community/eggjs-realworld-example-app
[david-image]: https://img.shields.io/david/eggjs-community/eggjs-realworld-example-app.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs-community/eggjs-realworld-example-app> ### Example Node (Eggjs + Mysql) codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld-example-apps) API spec.
This repo is working — PRs and issues welcome!
## QuickStart
see [egg docs][egg] for more detail.
### Development
```bash
$ npm i
$ npm run migrate:up // create db first
$ npm run dev
$ open http://localhost:7001/
```### Deploy
```bash
$ 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](https://www.npmjs.com/package/autod) for more detail.[egg]: https://eggjs.org
## Links
* [RealWorld API Spec](https://github.com/gothinkster/realworld/tree/master/api)
* [vue-realworld-example-app](https://vue-vuex-realworld.netlify.com/)
* [react-dva-realworld-example-app](https://github.com/sinchang/react-dva-realworld-example-app)
## Contributors
| [
sinchang](https://buymeacoff.ee/sinchang)
[💻](https://github.com/eggjs-community/eggjs-realworld-example-app/commits?author=sinchang "Code") [🚇](#infra-sinchang "Infrastructure (Hosting, Build-Tools, etc)") | [
sfyr111](https://github.com/sfyr111)
[💻](https://github.com/eggjs-community/eggjs-realworld-example-app/commits?author=sfyr111 "Code") |
| :---: | :---: |Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!