├── .gitignore ├── README.md ├── config └── index.js ├── controllers ├── graphqlHandler.js └── list.js ├── graphql └── schema.js ├── mongodb ├── index.js └── schema │ └── list.js ├── package.json ├── public ├── index.html └── js │ ├── index-s1.js │ ├── index-s2.js │ └── index.js ├── router └── index.js ├── server.js └── start.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/README.md -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- 1 | export default { 2 | dbPath: 'mongodb://localhost/todolist' 3 | } -------------------------------------------------------------------------------- /controllers/graphqlHandler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/controllers/graphqlHandler.js -------------------------------------------------------------------------------- /controllers/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/controllers/list.js -------------------------------------------------------------------------------- /graphql/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/graphql/schema.js -------------------------------------------------------------------------------- /mongodb/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/mongodb/index.js -------------------------------------------------------------------------------- /mongodb/schema/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/mongodb/schema/list.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/package.json -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/public/index.html -------------------------------------------------------------------------------- /public/js/index-s1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/public/js/index-s1.js -------------------------------------------------------------------------------- /public/js/index-s2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/public/js/index-s2.js -------------------------------------------------------------------------------- /public/js/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/public/js/index.js -------------------------------------------------------------------------------- /router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/router/index.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/server.js -------------------------------------------------------------------------------- /start.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Charming2015/graphql-todolist/HEAD/start.js --------------------------------------------------------------------------------