/ws-simple-chat

Simple WebSocket Chat composed of ServerlessFramework + AWS + Ruby.

Primary LanguageRubyMIT LicenseMIT

ws-simple-chat

This repository is a Simple WebSocket Chat composed of ServerlessFramework + AWS + Ruby Lang.

Get Started

  1. Install serverless and wscat via npm.(wscat is used by testing websocket.)
npm install -g serverless wscat
  1. Setup your AWS Certificate
export AWS_ACCESS_KEY_ID=<your-key>
export AWS_SECRET_ACCESS_KEY=<your-secret-key>
  1. Deploy the functions
sls deploy

Local Development

  1. Install require packages
npm install
  1. Install DyanmoDB Local
sls dynamodb install
  1. Run
sls offline start