Commenting API

A commenting api using Serverless Typescript GraphQl and Redis

Serverless Backend with Graphql

This is simple GraphQl API built using Serverless Framework.

Medium article containing all the steps to build this project (~15k reads)

Serverless :

Install Dependencies using :

$ npm i

Set aws credentials :

$ serverless config credentials --provider aws --key KEY --secret SECRET_KEY

Run for Dev Env :

$ npm start

Deploy :

$ sls deploy -v

Redis DB :

Run Redis on Docker:

$ docker run  --volume /docker/redis-data:/data -p 6379:6379 -d redis   redis-server --appendonly yes