node
andnpm
- Install JDK from Oracle JDK
- Install Apache Maven
- Install and configure AWS CLI
- Install Serverless framework:
npm install -g serverless
mvn clean install
sls deploy
....
None
endpoints:
GET - https://xxxxxxxxx.execute-api.us-east-1.amazonaws.com/dev/doctors
GET - https://xxxxxxxxx.execute-api.us-east-1.amazonaws.com/dev/doctors/{id}
POST - https://xxxxxxxxx.execute-api.us-east-1.amazonaws.com/dev/doctors
DELETE - https://xxxxxxxxx.execute-api.us-east-1.amazonaws.com/dev/doctors/{id}
......
sls remove