Skip to content

iopipe/servers.lol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Servers.lol

What applications are a good fit for serverless? Which can utilize the benefits of event-driven architecture, blazing-fast deployment times, incredible scalability, and decreased cost? Launch this Serverless Application Model (SAM) repository to get started and find out!

What does it do?

This project will launch a single lambda function behind API gateway in your environment that grabs some statistics about running Elastic Beanstalk environments. Don't have any Elastic Beanstalk apps? Just skip this repo and head over to servers.lol to enter in information manually.

Requirements

Setup

  1. Clone this repo.
  2. Change the PASSWORD environment variable (Line 16) of the template.yml file to a unique password to be used for API Gateway authorization (instead of "none").
  3. Run these commands inside the directory:
yarn && yarn run deploy

Alternatively:

npm install && npm run deploy

Development

If you'd like to hack on this project, here are the details:

Watch mode - outputs json data to console

yarn run watch

Use SAM local for spinning up server (localhost:4000)

yarn run api

Releases

No releases published

Packages

No packages published