Skip to content

tonyd256/purescript-graphql-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purescript GraphQL API

An example GraphQL API written in Purescript

This project uses NodeJS to run a GraphQL server with ExpressJS. The GraphQL resolve functions are written and tested in Purescript. This is the Open Source code that goes along with a blog series hosted here.

Setup

This API uses the yarn dependency manager for NodeJS dependencies and bower for Purescript dependencies. You can install yarn via Homebrew and bower via yarn.

brew install yarn
yarn global add bower

Then install the dependencies.

yarn setup

Run Server

Run the server via:

yarn start

Run Tests

You can run the Purescript tests via:

yarn test

About

Sample code for making a GraphQL API using Purescript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published