Skip to content

A simple AWS Lambda function for example/exercise purposes

Notifications You must be signed in to change notification settings

janetechinc/simple-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A very simple Lambda

This repository contains an AWS Lambda function that implements simple increasing counters.

Requires a PostgreSQL database provided via DATABASE_URL environment variable. No other configuration. The Lambda will create database table(s) it needs on its own, so it needs permissions to perform a CREATE TABLE IF NOT EXISTS query.

The Lambda implements a set of ever-increasing counters. It takes requests with an integer ID field and increases returns a counter for this ID, starting at 1 and increasing its value by one on every request.

About

A simple AWS Lambda function for example/exercise purposes

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages