Skip to content
/ plib Public

Webapp to view and download items from your S3 bucket using Cognito credentials

Notifications You must be signed in to change notification settings

walicar/plib

Repository files navigation

plib

docs/plib.png

Host a webapp to access your S3 files using Cognito credentials.

Stack

  • React.js
  • CloudFlare functions

Requirements

  • AWS Cognito User / Identity Pool
  • AWS S3
    • Necessary IAM Policies: List, Get
  • CloudFlare account

Deployment

Development

  • configure .dev.vars for CloudFlare Functions
    • Look through functions/ for required env vars
    • You will need: Cognito Userpool ID, Cognito Client ID, Cognito Identitypool ID, S3 Bucket name, and AWS region.
  • npm i && npm run build to setup project
  • npm run pages to run webapp in development mode

About

Webapp to view and download items from your S3 bucket using Cognito credentials

Resources

Stars

Watchers

Forks