Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
susaurabh-git committed Aug 27, 2021
1 parent 5853a51 commit e5da6f3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

This is sample Springboot implementation with AWS Lambda and serverless framework.

## Pre-requisites
- java 11+
- maven 3.6+
- AWS CLI
- Serverless framework CLI

## Build
Run following command to build and package
```
mvn clean package
```
## Deployment
Run following command to deploy the application in AWS.
```
serverless deploy
```
NOTE: AWS profile must be configured before running it. Use "aws configure" to configure.

Once the deployment is successful then it will provide the application URL.
you can use CURL or postman to test application.

sample URL : https://xxxxxxxxx.execute-api.{region}.amazonaws.com/dev/users/

#### References:

- https://github.com/awslabs/aws-serverless-java-container

0 comments on commit e5da6f3

Please sign in to comment.