A Serverless GraphQL Sample project using Apollo and Serverless Framework with TypeScript and Webpack.
This is a base project with a structure that includes Serverless Framework, Apollo, TypeScript and Webpack. It can be deployed to a lambda on an serverless architecture. It also has some nice development features, like Hot Reload.
Clone this project
Create the .env
file from the .env.example
in the root of the project
Run npm run dev
You will be able to access the api on http://localhost:3000/local/graphql
To deploy the app, just run npm run deploy:prd
.
It will deploy to the profile and region specified in the .env
file.