Skip to content

shahafal/ps-serverless-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-pdf-reader

Based on David Tucker ps-serverless-app from his Pluralsight coures.

This implementation is using AWS SDK v3 and verified for Node v22.

Webapp Setup

Prerequisites

  • Node.js v22 or later
  • Yarn package manager

Configuration

  1. Navigate to the webapp public directory:

    cd webapp/public
  2. Create a config.json file by copying the sample configuration:

    cp config.sample.json config.json
  3. Update the config.json file with your AWS settings:

    {
      "api": {
        "endpoint": "https://your-api-endpoint.com"
      },
      "auth": {
        "userPoolId": "region_XXXXXXXXX",
        "userPoolWebClientId": "your-client-id",
        "region": "your-region"
      }
    }

Installing Dependencies

Run the following command to install required dependencies:

yarn install

Development

To run the application locally in development mode:

yarn start

This will start the development server and open the application in your default browser.

Production Build

To create a production build:

yarn build

This will create an optimized production build in the dist directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published