Skip to content

A sample Ticket Manager built using the Serverless capabilities offered by AWS (S3 + API GateWay + DynamoDB + Lambda)

Notifications You must be signed in to change notification settings

aitormagan/serverless-ticket-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Ticket Manager

A sample Ticket Manager built using the Serverless capabilities offered by AWS (S3 + API GateWay + DynamoDB + Lambda)

  • API GateWay has been used to defined the API structure.
  • API GateWay bypass all the requests to a lambda function that processes them and returns an appropiate response.
  • Lambda function uses DynamoDB to manage tickets information (users and times).
  • A HTML/JS frontend deployed in S3 allow final users to manage tickets in a simple way. This frontend checks the API using AJAX requests.

DynamoDB Definitions

Table "Properties":

  • HashKey: key - String

Items: {key: "nextUserId", "val": 1}, {key: "nextDonationId", "val": 1}, {key: "authUsers", "val": [LIST OF EMAILS]}

Table "RegisteredUsers":

  • Hashkey: id - Number

Table "RegisteredDonations":

  • Hashkey: id - Number

Table "UserTokens":

  • Hashkey: token - String

TTL enabled for the ttl attribute.

About

A sample Ticket Manager built using the Serverless capabilities offered by AWS (S3 + API GateWay + DynamoDB + Lambda)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published