├── .babelrc ├── .eslintrc ├── .gitignore ├── .pre-commit ├── .prettieropts-sublime ├── .prettierrc.json ├── README.md ├── package.json ├── prettier.gif ├── src ├── db.js ├── index.js ├── koa.js ├── models │ └── user.js ├── schema │ ├── schema.js │ ├── schema1.js │ ├── schema2.js │ └── schema3.js └── server.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/.pre-commit -------------------------------------------------------------------------------- /.prettieropts-sublime: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/.prettieropts-sublime -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/package.json -------------------------------------------------------------------------------- /prettier.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/prettier.gif -------------------------------------------------------------------------------- /src/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/src/db.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/src/index.js -------------------------------------------------------------------------------- /src/koa.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/src/koa.js -------------------------------------------------------------------------------- /src/models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/src/models/user.js -------------------------------------------------------------------------------- /src/schema/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/src/schema/schema.js -------------------------------------------------------------------------------- /src/schema/schema1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/src/schema/schema1.js -------------------------------------------------------------------------------- /src/schema/schema2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/src/schema/schema2.js -------------------------------------------------------------------------------- /src/schema/schema3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/src/schema/schema3.js -------------------------------------------------------------------------------- /src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/src/server.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ingf/elegant-writing-javascript/HEAD/yarn.lock --------------------------------------------------------------------------------