Thanks to visit codestin.com
Credit goes to github.com

Skip to content

izumskee/graphql-starter-kit

 
 

Repository files navigation

GraphQL Starter Kit  

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.

---

Directory Layout

.
├── /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

Getting Started

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)

Related Projects

Support

License

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

About

Project template for authoring GraphQL server applications with Node.js 6+ and JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%