Skip to content

Latest commit

 

History

History
44 lines (44 loc) · 2.17 KB

README.md

File metadata and controls

44 lines (44 loc) · 2.17 KB

The Plant Journal

Allows users to add and update plant data

Tools Used

Getting Started

Prerequisites

Installing

  • Download AWS CLI
    • Used to deploy and test the backend
  • Download NodeJS
    • Used to run Frontend and install packages
  • Download Serverless Framework: npm install serverless -g
    • Used to support the API and Serverless functions without creating boiler code

Configuring

  • Create an IAM user
    • Give them programmatic access and administrator access
    • Learn about IAM users and their functions
  • Configure the AWS CLI
  • Create a DynamoDB table
  • Create a Cognito User Pool
    • Cognito provides auhentication and authorization for the users that will be added to the application.
  • Create Federeated Identity Pool
    • Allows values inserted into DynamoDB to only be associated with that user

Local Deployment

  • Backend
    • Run: npm install
    • Run: serverless deploy
  • Frontend
    • Update config.js
      • API Gateway values are found when deploying the backend
      • Cognito values are found in the Cognito dashboard
    • Run: npm install
    • Run: npm start

Project Structure

Backend

  • Uses serverless infrastructure

Frontend