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.
$ export MONGODB_URI="mongodb://your-database-uri/port" && yarn start-dev
# OR JUST...
$ yarn start-dev
# SAME BUT WITH NPM...
$ npm run start-dev
- 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