- Install Java 8, Groovy and Gradle - I highly recommend using SDKMAN to install any JVM-related packages.
- Install NodeJS and the Serverless Framework.
- Amazon Web Services account.
You also need to set up your AWS credentials/profiles in the ~/.aws/credentials
file.
To build the project, run npm i && ./gradlew clean build
.
./gradlew run
You can access the API at http://localhost:4567/ping
To deploy, simply run sls deploy
.