Skip to content

strangerin/aws_api_experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS-based API

AWS-based API, serverless, Dynamo DB, Pydantic

#How to install serverless framework:

  • make sure NPM is installed on your system
  • npm init
  • accept defalut settings, press "Enter"
  • npm config set prefix /usr/local (macOS/Ubuntu "fix" for path)
  • in case of some permission issues - sudo chown -R $USER /usr/local/lib
  • npm install -g serverless
  • serverless -version (to check whether it is installed correctly)
  • npm install --save serverless-python-requirements

#Configure AWS CLI, detailed instructions can be found here: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-prereqs.html #...and here: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html

#Configure severless handler via "serverless.yml"

#Once you have functions ready and everything configured start your API instance with:

  • serverless deploy -v

About

AWS-based API, serverless, Dynamo DB, Pydantic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages