- Node v16.13.1
- Serverless Framework - 3.x.x - Sign up to serverless.com and install serverless globally: npm i serverless -g
- Fetch a
service.yml
from a peer, this contains all the config for local setup. - Change variables per your local setup in
service.yml
. - Push an environment variable using
export SLS_DEBUG=*
.
npm install or npm i
serverless login
This needs to be done from their official Oracle Website. (https://www.java.com/en/download/manual.jsp)
serverless offline
Server runs on: http://localhost:3000/
- Create a route in serverless.yml
- It will redirect to controller function. Controller will redirect to use-case.