Skip to content

Product Pre-registartion page using Serverless(Serverless.com) to deploy AWS Lambda as back-end

Notifications You must be signed in to change notification settings

agentmilindu/Serverless-Pre-Register

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Serverless Pre-Register

A simple, ready to deploy Pre-registration page for your product. We are using the serverless architecture, that is AWS Lambda as the backend with DynamoDB as the database server, AWS API Gateway to manage the API. Deploy your Lambdas to the cloud with couple of simple commands using Serverless( formerly JAWS, http://www.serverless.com ) application framework.

We are serverless and are not running any servers on EC2, this way, you don't have to pay for anything unless you get someone get registered! Know more about AWS Lambda and AWS Lambda pricing

##Prerequisites

  1. Create an AWS account and and create an IAM user with nessasary privilages.
  2. Generate an access key and have it in hand.
  3. Install Serverless npm package.

##How to use

  1. Fork the repo and clone to your local environment.
  2. Change directory into Serverless-Pre-Register.
  3. Issue the command $ serverless stage create, this will create an stage in AWS for our API. ( You might me promt for access keys)
  4. Issue command $ serverless function deploy, this will deploy the functions to AWS Lambda.
  5. Issue commands $ serverless endpoint deploy, this will deploy the API on AWS API Gateway, and it will pormpt you the API endpoint, copy that URL.
  6. Edit the configs.json file on front folder and set the copied URL as "endpointURL".
  7. Upload the files in front folder to S3 bucket.

About

Product Pre-registartion page using Serverless(Serverless.com) to deploy AWS Lambda as back-end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published