Actualice las dependencias
npm install
Instalación de serverless
npm install serverless -g
Configuración de usuario AWS
serverless config credentials
Despliegue
serverless deploy
Fuentes de consulta
- AWS Credentials: https://www.serverless.com/framework/docs/providers/aws/guide/credentials/
- Star Wars API: https://swapi.dev/
Revisar archivo docs/Manual de uso
-
Agregar empleado https://vu65b71shj.execute-api.us-east-1.amazonaws.com/dev/api/employee/add
-
Modificar empleado https://vu65b71shj.execute-api.us-east-1.amazonaws.com/dev/api/employee/upd
-
Recuperar empleado https://vu65b71shj.execute-api.us-east-1.amazonaws.com/dev/api/employee/get/{employee_id}
-
Recuperar recursos https://vu65b71shj.execute-api.us-east-1.amazonaws.com/dev/api/starwars/{resource}
-
Recuperar recurso especifico https://vu65b71shj.execute-api.us-east-1.amazonaws.com/dev/api/starwars/{resource}/{idOrSchema}