¡Bienvenido a swapi (extended), la API de Star Wars!.
Instale módulos npm.
npm install
You can use store parameter to persist env in serverless.yml
custom:
#documentation: ${file(serverless.doc.yml):documentation}
settings:
POST_TABLE: PEOPLE_DB
URL_STARTWARS: https://swapi.py4e.com/api
Integration with SWAPI
Plugins de serverless utilizados
Plugin | description |
---|---|
serverless-offline | for local testing |
serverless-dynamodb-local | for local testing |
The resources implemented are as follows:
cat oas/oas.yml
npm start
To generate CloudFormation files run:
npm run deploy
By properly configuring the AWS Credentials, the sls deploy
command should deploy the API's correctly.