Skip to content

SIndujan28/Pizzeria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pizzeria

Serverless API developed using claudia.js that can be deployed in AWS lambda with ease.API has all the essential features for a pizzeria shop such as create,update,cancel orders and claudia abstract the need to configure AWS API gateway as it does that for us.

List of features for initial API

  • Listing all pizzas
  • Retrieving the pizza orders
  • Creating a pizza order
  • Updating pizza order
  • Canceling a pizza order
  • Add/Update image of pizza in S3
  • Connect to external delivery system and get notified of the status

Technology used

  1. Nodejs
  2. Claudia-api-builder
  3. DynamoDB
  4. Lambda

Getting started

Prerequisites

  1. Install Nodejs using this guide.
  2. Install npm or yarn
  3. AWS account with access to IAM and Lambda.
  4. Install claudia.js using
npm claudia -g
  1. Create an AWS profile with IAM full access, Lambda full access and API Gateway Administrator privileges.
  2. Add the keys to your .aws/credentials file.

Steps to reproduce locally

  1. Clone this repository
     git clone git@github.com:SIndujan28/Pizzeria.git
  1. Run the following command to install all the neccessary modules.
     npm install

or

    yarn install
  1. Finally run this command and the rest will be taken care of by claudia.
    claudia create
  1. To update the handler function,run
  claudia update

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Serverless API using claudia.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published