/aws-lambda-best-sushi-app

Event driven AWS Serverless backed Sushi delivery for demonstration and follow up of the article "Monitoring and Debugging an AWS Lambda Backed Sushi Delivery App without knowing about AWS" also in this repository

Primary LanguageJavaScript

serverless

AWS Lambda backed Sushi Delivery App (demo)

This repository contains the code for the demostrations and following of the article Monitoring and Debugging an AWS Lambda Backed Sushi Delivery App without knowing about AWS.


Structure of demo code...

# This repository
  ├── Article
  │   ├── assets
  │   └── content.md # Main article of the repository
  └── the-best-sushi-app
      ├── api
      └── client

Instructions to start the API...

  $ npm i -g serverless

Proceed to configure your AWS credentials. Then...

  $ cd the-best-sushi-app/api
  $ npm i
  # deploy the backend api endpoints to AWS with...
  $ serverless deploy -v

You might expect to get a result like this one...


Instructions to start the Client...

First of all you will need to create a Firebase account it's a peace of cake! And for start it is virtually free to use.

Then, copy the file .env.example a rename to .env updating all the variables inside it with your firebase configuration keys and with your previously generated backend JSON API base url, after that you can proceed to install dependencies and start the app, as follow...

  $ cd the-best-sushi-app/client
  $ yarn
  $ yarn start

You might expect to see in action The Best Sushi App 🍣

Don't forget to read the complete article 😉