Skip to content

Latest commit

 

History

History

apollo-server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Nitric Logo

A fast & fun way to build portable cloud-native applications

GitHub release (latest SemVer) Twitter Follow Discord

Project Description

Run and Deploy an Apollo server with Nitric.

"Apollo provides the developer platform and tools to unify your data and services into a supergraph—a single distributed GraphQL API. " - https://www.apollographql.com/docs/

Usage

Step 1: Install Nitric

Follow the steps in the installation guide

Step 2: Run your Nitric project locally

nitric start

Navigate to 'http://localhost:4001/' to access your Apollo server, where you can run an example GraphQL query.

query ExampleQuery {
  books {
    author
  }
}

Step 3:

Configure the region in nitric.aws.yaml and ensure you've got local AWS credentials to deploy your application.

nitric up

About Nitric

Nitric is a framework for rapid development of cloud-native and serverless applications. Define your apps in terms of the resources they need, then write the code for serverless function based APIs, event subscribers and scheduled jobs.

Apps built with Nitric can be deployed to AWS, Azure or Google Cloud all from the same code base so you can focus on your products, not your cloud provider.

Nitric makes it easy to:

  • Create smart serverless functions and APIs
  • Build reliable distributed apps that use events and/or queues
  • Securely store and retrieve secrets
  • Read and write files from buckets

Documentation

The full documentation is available at nitric.io/docs.

We're completely open-source and encourage code contributions.

Get in touch