export AWS_ACCESS_KEY_ID=AKIAR2ARWK24R6YQYI7X export AWS_SECRET_ACCESS_KEY=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 aws s3 cp s3://haverim-app-frontend ./build --recursive
- Node.js - TypeScript (Runtime)
- Express (Framework)
- Prisma (ORM)
- Postgres (DB)
- Serverless (IaC Framework)
- Lambda with API Gateway
- RDS (Postgres)
- Git
- Node.js Version 18
- NVM
- Serverless:
npm install -g serverless
- AWS CLI V2
- AWS Credentials Setup:
aws configure
- AWS Profiles Setup at:
~/.aws/credentials
- For local debugging:
npm install -g nodemon
- Uncomment dev configuration in .env file
- Start the express server and listen to changes:
nodemon
- Access by
localhost:<your port from .env file>
- Install dependencies:
npm install
- Deploy to AWS:
npm run deploy
If you're behind a proxy, use this workaround: $env:NODE_TLS_REJECT_UNAUTHORIZED = "0"