Project template for authoring GraphQL server applications with Node.js 6+ and JavaScript (demo). You can use it eighter just as a playground or a base for your next API project.
🔥 Want to strengthen your core JavaScript skills and master ES6?
I would personally recommend this awesome
ES6 course by Wes Bos.
.
├── /node_modules/ # 3rd-party libraries and utilities
├── /types/ # GraphQL types /w resolve functions
│ ├── /User.js # User account
│ ├── /Viewer.js # The top-level object
│ └── /... # etc.
├── /test/ # Unit and integration tests
│── config.js # Configuration settings
│── package.json # The list of project dependencies and NPM scripts
│── schema.js # GraphQL schema
└── server.js # Node.js application
Just clone the repo and start hacking:
$ git clone -o graphql-starter-kit -b master --single-branch \
https://github.com/kriasoft/graphql-starter-kit.git api.example.com
$ cd api.example.com
$ npm install
$ node server
Or, if you have nodemon installed globally, you can launch the server by running:
$ nodemon
The GraphQL server should become available at http://localhost:5000/ (live demo)
- GraphQL.js — The JavaScript reference implementation for GraphQL
- React Starter Kit — Isomorphic web app boilerplate (React, Node.js, Babel, Webpack, CSS Modules)
- React Static Boilerplate — Single-page application (SPA) starter kit (React, Redux, Webpack, Firebase)
- Membership Database — SQL schema boilerplate for user accounts, profiles, roles, and auth claims
- #react-starter-kit on Stack Overflow — Questions and answers
- #react-starter-kit on Gitter — Watch announcements, share ideas and feedback
- GitHub Issues — Check open issues, send feature requests
- @koistya on Codementor or HackHands — Private consulting
Copyright © 2016-present Kriasoft, LLC. This source code is licensed under the MIT license found in the LICENSE.txt file. The documentation to the project is licensed under the CC BY-SA 4.0 license.
Made with ♥ by Konstantin Tarkus (@koistya) and contributors