Git Product home page Git Product logo

apollo-server-beta's Introduction

Apollo Server Beta

npm version Build Status Get on Slack

Apollo Server is a community-maintained open-source GraphQL server. It works with pretty much all Node.js HTTP server frameworks, and we're happy to take PRs for more! Apollo Server works with any GraphQL schema built with GraphQL.js, so you can build your schema with that directly or with a convenience library such as graphql-tools.

Documentation

Read the docs!

Principles

Apollo Server is built with the following principles in mind:

  • By the community, for the community: Apollo Server's development is driven by the needs of developers
  • Simplicity: by keeping things simple, Apollo Server is easier to use, easier to contribute to, and more secure
  • Performance: Apollo Server is well-tested and production-ready - no modifications needed

Anyone is welcome to contribute to Apollo Server, just read CONTRIBUTING.md, take a look at the roadmap and make your first PR!

Getting started

  • 1 - git clone [email protected]:rodrigooler/apollo-server-beta.git
  • 2 - cd apollo-server-beta
  • 3 - npm run start or npm run dev (nodemon);

Running with Docker

  • 1 - Install Docker
  • 2 - npm run docker:run or sudo npm run docker:run

Features

  • Cross-Platform:.
  • npm run docker:run: Run the image you built on your local Docker instance. When you run docker ps your image will identified by the imageName you specify in package.json.

Running

You're done. Now run your scripts. To build and publish an image you only need to use two of the commands frequently.

  1. npm run docker:taillogs: Shows logs for webserver.
  2. npm run docker:clean: Kills the container that is running.

Thanks for duluca!

apollo-server-beta's People

Contributors

erickwendel avatar martinsrso avatar rodrigooler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

apollo-server-beta's Issues

Error in build image: npm run docker:run Error

npm run docker:run

> [email protected] docker:run /Users/erickwendel/Documents/projetos/apollo-server-beta
> run-s -c docker:clean docker:runHelper


> [email protected] docker:clean /Users/erickwendel/Documents/projetos/apollo-server-beta
> cross-conf-env docker rm -f $npm_package_config_imageName

Error: No such container: test_name
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] docker:clean: `cross-conf-env docker rm -f $npm_package_config_imageName`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] docker:clean script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/erickwendel/.npm/_logs/2018-06-14T12_12_24_094Z-debug.log

> [email protected] docker:runHelper /Users/erickwendel/Documents/projetos/apollo-server-beta
> cross-conf-env docker run -e NODE_ENV=local --name $npm_package_config_imageName -d -p $npm_package_config_imagePort:3000 $npm_package_config_imageRepo

docker: invalid reference format.
See 'docker run --help'.
npm ERR! code ELIFECYCLE
npm ERR! errno 125
npm ERR! [email protected] docker:runHelper: `cross-conf-env docker run -e NODE_ENV=local --name $npm_package_config_imageName -d -p $npm_package_config_imagePort:3000 $npm_package_config_imageRepo`
npm ERR! Exit status 125
npm ERR!
npm ERR! Failed at the [email protected] docker:runHelper script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/erickwendel/.npm/_logs/2018-06-14T12_12_24_630Z-debug.log
ERROR: "docker:runHelper" exited with 125.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] docker:run: `run-s -c docker:clean docker:runHelper`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] docker:run script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/erickwendel/.npm/_logs/2018-06-14T12_12_24_658Z-debug.lo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.