Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

shalvah/tvass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

tvass

That Very Awesome Serverless Site - demo serverless site showing count of page viewers in realtime. Check out the walkthrough

Prerequisites

  • Node.js v6.5.0 or greater
  • An AWS account. You can sign up for a free account here
  • A Pusher account. Sign up here

Getting Started

  1. Install the serverless framework: npm install -g serverless
  2. Run serverless install --url https://github.com/shalvah/tvass to install the service
  3. Install dependencies: cd tvass && npm install
  4. Create a pusher app and obtain your app keys from the dashboard. Replace the PUSHER_* environment variables in the serverless.yml file with your app credentials. $. Deploy: serverless deploy (You'll need to configure the serverless CLI with your AWS credentials first; follow these instructions)
  5. Enable Channel existence webhooks for your Pusher app (Dashboard > Webhooks). Copy the POST URL printed to the console after running serverless deploy and paste in the text field as the webhook URL.

Built With

About

[Demo] That Very Awesome Serverless Site 😎😎 - serverless site showing count of page viewers in realtime

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published