https://github.com/holybasil/vue-apollo-demo
Vue Cli 3+VueApollo+ApolloServer(express)+Mongoose(mLab)
https://github.com/holybasil/vue-apollo-demo
Last synced: 2 months ago
JSON representation
Vue Cli 3+VueApollo+ApolloServer(express)+Mongoose(mLab)
- Host: GitHub
- URL: https://github.com/holybasil/vue-apollo-demo
- Owner: Holybasil
- Created: 2019-01-08T02:52:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-11T03:03:34.000Z (over 6 years ago)
- Last Synced: 2025-03-21T00:13:43.020Z (2 months ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-apollo-graphql-pure
## Project setup
```bash
// for client
npm install
npm run serve// for server
cd server
npm install
npm run dev
```## Iteration
### 0.0.1
- client 采用在 Vue 组件中注入 apollo 选项进行查询
- server 讲 type 定义在单独的.gql 文件中 方便查看与修改
- 使用 mongoose 来连接[mongoDB 的云服务](https://docs.mlab.com/)### 0.0.2
...
## TODO
- [ ] 单表扩为多表 进行多表查询
- [ ] 确定 client 端最适合使用 gql 查询的方式
- [ ] 确定 types 和 resolves 最好的文件结构
- [ ] ...