Follow the steps below to set up the local environment and deploy your application.
To install all the required dependencies, run the following command:
pip install -r requirements.txt
Start the Localstack service by running the command:
localstack start
Navigate to the setup directory and run the following scripts to set up DynamoDB and S3 in Localstack:
python dynamodb.py
python s3.py
If you don't have the Serverless Framework installed, run the following command:
npm install -g serverless
Deploy the Serverless Functions Run the following command to deploy the Serverless framework:
serverless deploy
cd app
serverless deploy
This will:
Create the API Gateway Upload the code to AWS Lambda functions Attach the Lambda functions to the API Gateway