All Projects → lXSPandora → Workshop-GraphQL

lXSPandora / Workshop-GraphQL

Licence: other
A GraphQL Server made for the workshop

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Workshop-GraphQL

Hotchocolate
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
Stars: ✭ 3,009 (+13577.27%)
Mutual labels:  graphql-server, dataloader
graphql-modules-app
TypeScripted Apollo GraphQL Server using modules and a NextJS frontend utilising React modules with Apollo hooks. All bundled with a lot of dev friendly tools in a lerna setup..
Stars: ✭ 39 (+77.27%)
Mutual labels:  graphql-server, dataloader
graphql-spotify
GraphQL Schema And Resolvers For Spotify Web API
Stars: ✭ 55 (+150%)
Mutual labels:  graphql-server, dataloader
Graphql Dataloader Boilerplate
Very simple boilerplate using GraphQL and DataLoader
Stars: ✭ 405 (+1740.91%)
Mutual labels:  repl, dataloader
clojure
Practicalli Clojure REPL Driven Development
Stars: ✭ 40 (+81.82%)
Mutual labels:  workshop, repl
graphql-docker-api
A GraphQL Server for the Docker API
Stars: ✭ 57 (+159.09%)
Mutual labels:  schema, graphql-server
Typegql
Create GraphQL schema with TypeScript classes.
Stars: ✭ 415 (+1786.36%)
Mutual labels:  schema, graphql-server
graphql-compose-dataloader
Add DataLoader to graphql-composer resolvers.
Stars: ✭ 18 (-18.18%)
Mutual labels:  schema, dataloader
examples
Apache Pulsar examples and demos
Stars: ✭ 41 (+86.36%)
Mutual labels:  schema
classicpress-seo
Classic SEO is the first SEO plugin built specifically to work with ClassicPress. A fork of Rank Math, the plugin contains many essential SEO tools to help optimize your website.
Stars: ✭ 18 (-18.18%)
Mutual labels:  schema
slacker
Slacker - Easy access to the Slack API and admin of workspaces/teams.
Stars: ✭ 14 (-36.36%)
Mutual labels:  repl
irb
interactive Ruby
Stars: ✭ 243 (+1004.55%)
Mutual labels:  repl
scala-3-crash-course
Scala 3 workshop presenting the top new features of the language.
Stars: ✭ 34 (+54.55%)
Mutual labels:  workshop
Tutkain
A Sublime Text package for interactive Clojure development
Stars: ✭ 62 (+181.82%)
Mutual labels:  repl
apollo-graphql-full-stack
Full-stack Apollo GraphQL app using React and Node JS
Stars: ✭ 31 (+40.91%)
Mutual labels:  graphql-server
pykafarr
A high-performance Python Kafka client. Efficiently from Kafka to Pandas and back.
Stars: ✭ 32 (+45.45%)
Mutual labels:  schema
csharp
Run c# code from the command line, like python or javascript
Stars: ✭ 22 (+0%)
Mutual labels:  repl
saturn2019-architecture-island-workshop
What are the most essential ideas in software architecture all developers should know?
Stars: ✭ 25 (+13.64%)
Mutual labels:  workshop
touchdesigner-summit-2019-large-systems
No description or website provided.
Stars: ✭ 26 (+18.18%)
Mutual labels:  workshop
fancyline
Readline-esque library with fancy features
Stars: ✭ 72 (+227.27%)
Mutual labels:  repl

GraphQL DataLoader Boilerplate

CircleCI codecov

Very simple boilerplate using GraphQL and DataLoader

Blog Posts

Directory Structure

├── /data/                   # GraphQL generated schema
├── /repl/                   # Read-Eval-Print-Loop (REPL) configuration
├── /scripts/                # Generate GraphQL schema script
├── /src/                    # Source code of GraphQL Server
│   ├── /connection/         # Connections types (Relay)
│   ├── /interface/          # NodeInterface (Relay)
│   ├── /loader/             # Loaders of the models using DataLoader
│   ├── /model/              # Models definition (Mongoose, SQL, Google DataStore)
│   ├── /mutation/           # Mutations definition
├── /test/                   # Test helpers

Create-GraphQL

If you want to move faster you should use create-graphql to simplify the creation of a GraphQL Server

Command

Setup

npm install

Note: If you do not have mongodb installed, please install it:

brew install mongodb

Develop

npm run watch

Test

npm test

Or

npm run test:watch

Docker and docker-compose

No needs for installing dependencies or running mongod in another terminal window

docker-compose build && docker-compose up

Test

docker-compose -f docker-compose.test.yml build && docker-compose -f docker-compose.test.yml up

Production

# first compile the code
npm run build

# run graphql compiled server
npm start

Flow

npm run flow

Or

flow

REPL server

npm run repl

awesome > const user = await M.User.find()

Yep, await syntax works on the repl, it is awesome, tks @princejwesley (https://gist.github.com/princejwesley/a66d514d86ea174270210561c44b71ba)

Schema

Update your schema

npm run update-schema

Take a look on the Schema

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].