Skip to content

tantaman/aphrodite-graphql-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aphrodite GraphQL Starter

This provides a basic NodeJS example project that uses Aphrodite and integrates GraphQL.

See src/domain.aphro for an example of how & GraphQL extensions are used.

Note -- I'm a 1 man show at the moment and this is a WIP that is still buggy.

Known issues:

  1. Connections are not complete
  2. Connections return the wrong type! oops!
  3. Mutations are not implemented at all
  4. Custom root calls are not yet supported
  • The schema is located in src/domain.aphro
  • A simple application is in src/main.ts

Getting Started

GitPod: https://gitpod.io/#git@github.com:tantaman/aphrodite-graphql-starter.git

Or --

First, clone this repository

git clone git@github.com:tantaman/aphrodite-graphql-starter.git

Next, cd to aphrodite-graphql-starter and install dependencies.

cd aphrodite-graphql-starter
npm install

The commands to build and run are the "demo app" are:

npm run build
npm run start

If you change the schema and want to re-generate the generated code, run

npm run aphro

For more info, see the Aphrodite quickstart guide

About

Starter project for Aphrodite + Node + GraphQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published