Skip to content

A simple tutorial on serverless framework, AWS SAM to create REST API in Java

Notifications You must be signed in to change notification settings

nicpuppa/aws-java-doctor-api

Repository files navigation

Serverless REST API in Java/Maven using DynamoDB

Install Pre-requisites:

npm install -g serverless

Build the Java Project

mvn clean install

Deploy the serverless app

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}

......

Removing the services

sls remove

About

A simple tutorial on serverless framework, AWS SAM to create REST API in Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages