Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vicradon/graphql-express-demo

A demo of graphql using express
https://github.com/vicradon/graphql-express-demo

Last synced: 27 days ago
JSON representation

A demo of graphql using express

Awesome Lists containing this project

README

        

# Customerbase GraphQL Server

Node.js/Express CRUD backend using GraphQL and JSON-Server

### Version
1.0.0

## Usage

-Install Dependencies

```bash
$ npm install
```

-Run JSON-Server (Port 3000)

```bash
$ json-server --watch db.json
```

-Run Server (Port 4000)

```bash
$ npm run dev:server
```

-Visit Graphiql IDE

Go to http://localhost:4000/graphql

- Run index file with parcel
```bash
$ parcel ./public/index.html
```