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.
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!
- 1 -
git clone [email protected]:rodrigooler/apollo-server-beta.git
- 2 -
cd apollo-server-beta
- 3 -
npm run start or npm run dev (nodemon)
;
- 1 - Install Docker
- 2 -
npm run docker:run
orsudo npm run docker:run
- Cross-Platform:.
npm run docker:run
: Run the image you built on your local Docker instance. When you rundocker ps
your image will identified by theimageName
you specify inpackage.json
.
You're done. Now run your scripts. To build and publish an image you only need to use two of the commands frequently.
npm run docker:taillogs
: Shows logs for webserver.npm run docker:clean
: Kills the container that is running.