AyoubEd-zz / serverless-graphql-api

Serverless backend with GraphQl to a comment section

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Serverless backend with GraphQl to a comment section


Languages

Language:TypeScript 86.7%Language:JavaScript 13.3%