https://github.com/adhityaramadhanus/express-graphql-todomvc
Graphql server on top of express backed by various database including nosql and sql
https://github.com/adhityaramadhanus/express-graphql-todomvc
Last synced: 3 months ago
JSON representation
Graphql server on top of express backed by various database including nosql and sql
- Host: GitHub
- URL: https://github.com/adhityaramadhanus/express-graphql-todomvc
- Owner: AdhityaRamadhanus
- License: mit
- Created: 2016-09-17T15:46:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-21T15:18:00.000Z (over 8 years ago)
- Last Synced: 2025-02-05T07:15:47.011Z (4 months ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# express  something
Installation |
Featured Database |
License
Graphql server for simple todo app (https://github.com/AdhityaRamadhanus/todomvc-react-graphql)
Built on top of expressjs backed by various database including nosql and sql
Since graphql is agnostic to the database used in the API, we can just provide any 'resolver' for each type of database to the graphql schema. This simple app is an example of mongodb, mysql, and apache cassandra resolver for graphql
Installation
------------* git clone https://github.com/AdhityaRamadhanus/express-graphql-something.git
* cd express-graphql-something
* npm install
* npm start
* define your .env files
* example of .env
```
NODE_ENV=developmentMONGODB_URI='mongodb://username:password@localhost:27017/dbname'
MYSQL_URI='mysql://username:password@localhost:3306/dbname'
```Featured Database
-----------------* MongoDB
* Apache Cassandra (soon)
* MySQLLicenses
--------Everything in this repo is MIT License unless otherwise specified.
MIT © Adhitya Ramadhanus.