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.
Note this project uses Yarn.
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.
Contributions are most welcome!!