This is a sample serverless app using Golang. In this README, you will find instructions to setup a Go development environment, install required dependencies, run the tests, and deploy the Serverless API app to AWS.
Download and install the latest version of Go from following the instructions here.
This project uses a .nvmrc
file to automatically set the local Node version. If you are not using NVM to manage
node versions locally, you will need to download and use Node version 16.13.0 or newer.
Download and install the latest version of Yarn from following the instructions here.
To download and install the required Go dependencies, run the following command from a terminal within the root directory of the project:
$ go mod tidy
To download and install serverless and the local/offline serverless plugins, run the following command from a terminal within the root directory of the project:
$ yarn install