Skip to content

Web server (or AWS Lambda) generating SVG with random choice. Also Expires, goes with Cookies and control Caching

Notifications You must be signed in to change notification settings

aleksandr-vin/random-stuff-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web server (or AWS Lambda) generating SVG with random choice

Also Expires, goes with Cookies and control Caching.

Badge in SVG

Run npm start and try http://localhost:3000/?choices[0]=foo&choices[1]=bar&choices[2]=baz.

Features

  • Expiration time
  • Persistence via Cookies
  • Cache control
  • Fully customizable via query parameters

Installation

Using Claudia to create AWS Lambda:

claudia create --handler lambda.handler --deploy-proxy-api

About

Web server (or AWS Lambda) generating SVG with random choice. Also Expires, goes with Cookies and control Caching

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published