serverless-graphql-typescript-starter

A Serverless GraphQL TypeScript backend boilerplate 🛎️

MIT License

Stars
11

Serverless GraphQL TypeScript Starter GitHub

This is a basic TypeScript boilerplate to kitstart your Serverless GraphQL projects with AWS Lambda. Here is a plain JavaScript starter if you prefer!

It is powered by Apollo-Server-Lambda and uses the Serverless Framework to deploy it to AWS.

This is hugely inspired by the starter that Anomaly Innovations created. The project was cloned from it.

Prerequistes 🚁

Note this project uses Yarn.

How to get started 🎮

First clone the repo:

$ serverless install --url https://github.com/AmoDinho/serverless-graphql-typescript-starter --name project-name

Move into the project folder:

$ cd project-name

Then Install all its dependancies:

$ yarn install

Then you should be able to invoke the Lambda locally:

$ yarn offline

To deploy to AWS run the following command:

$ yarn deploy

This should be a good start to be able to move on and do whatever you gotta do meet business requirements.

How To Link Other AWS Services 🗽

DynamoDB

Cognito

Contributing😀

Contributions are most welcome!!