An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# express ![Graphql](media/graphql.png) 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=development

MONGODB_URI='mongodb://username:password@localhost:27017/dbname'
MYSQL_URI='mysql://username:password@localhost:3306/dbname'
```

Featured Database
-----------------

* MongoDB
* Apache Cassandra (soon)
* MySQL

Licenses
--------

Everything in this repo is MIT License unless otherwise specified.

MIT © Adhitya Ramadhanus.