Skip to content

grabbeh/attest-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

attest-graphql

This is the graphql server which supports the attest frontend at https://github.com/grabbeh/attest. It originally formed part of that repository but conflict issues with Next 5 meant it was necessary to transfer out.

Dependencies

  • A MongoDB database string referenced in /config/db.js matching:
module.exports = 'mongodb://username:password@ipaddress/dbname'
  • A secret for JWT to work stored in /config/jwt-secret.js matching:
module.exports = `random string of letters and numbers`

Development

git clone
npm install
npm run compile-graph
node ./graphql/compiled/server.js

This starts the GraphQL server running on localhost:8000 (and GraphiQL, a GUI for the server, can be accessed at localhost:8000/graphiql)

Production

npm run compile-graph
npm run start-graph

About

GraphQL server for Attest

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors