https://github.com/apiko-dev/apollo-meteor-admin-starter
demo apollo + autoform + meteor-admin integration
https://github.com/apiko-dev/apollo-meteor-admin-starter
apollo apollo-client apollo-server apollographql autoform graphql meteor-admin mysql
Last synced: 2 months ago
JSON representation
demo apollo + autoform + meteor-admin integration
- Host: GitHub
- URL: https://github.com/apiko-dev/apollo-meteor-admin-starter
- Owner: apiko-dev
- License: mit
- Created: 2017-02-08T10:21:40.000Z (over 9 years ago)
- Default Branch: apollo-mysql-profile
- Last Pushed: 2017-04-04T20:08:03.000Z (about 9 years ago)
- Last Synced: 2025-07-03T23:34:37.131Z (12 months ago)
- Topics: apollo, apollo-client, apollo-server, apollographql, autoform, graphql, meteor-admin, mysql
- Language: CoffeeScript
- Size: 9.84 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Apollo + meteor-starter demo
==============
A Meteor + Apollo integration for working with user profile saved in MySQL db.
Forked from [yogiben/meteor-starter](https://github.com/yogiben/meteor-starter)
### Setup ####
```
git clone https://github.com/JSSolutions/apollo-meteor-admin-starter.git myapp
cd myapp
meteor npm i
npm start
```
Don't forget to run mysql
### Configuration ###
1) Set your MySQL parameters in settings.json file in the root folder
### Disclamer ###
- this code is not suitable for production and can be used as a demo
- calling graphQL queries is not optimized and can be redundant
- data gets saved both to MySQL and Mongo
- profile birthday not working - some bug in autoform or meteor-admin while saving
- after changing profile SimpleSchema you should change Sequelize.js
model in connectors.js and make relative changes in ```Input type``` in schema.js
### Improvements ###
- use observables in graphQL client
- define relationships between SimpleSchema and Sequelize.js model
- use dataIdFromObject in apollo client for correct caching
-------------
Made by [](http://jssolutionsdev.com/?github=Databazel) - [Custom Software Development Company](http://jssolutionsdev.com/?github=Databazel)