Skip to content

imjaroiswebdev/graphql-server-scafold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Style Guide

graphql-server-scafold | GraphQL server for starting projects

Working GraphQL Server with complete data CRUD and subscriptions for using as scaffolding for basic to medium projects

This server is made on top raw graphql-js and has a connection to MongoDB for data CRUD persistency.

To start it...

$ export MONGODB_URI="mongodb://your-database-uri/port" && yarn start-dev
# OR JUST...
$ yarn start-dev
# SAME BUT WITH NPM...
$ npm run start-dev

process.env Variables declared:

  • HOST: For domain or ip of the server
  • PORT: Self descriptive
  • MONGODB_URI: url of database
  • NODE_ENV: To control if Graphiql should be available

Feel free to use it

About

Working GraphQL Server with complete data CRUD and subscriptions for using as scaffolding for basic to medium projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published