Skip to content

This is an example of how can we do a OTP authentication with GoLang, DynamoDB and SES

Notifications You must be signed in to change notification settings

tenlisboa/go-passwordless-otp-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Serverless Framework

First install AWS-CLI:

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

You have to configure your AWS credentials into ~/.aws/credentials file

Second, if you don't have the node in your machine, install it:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
source ~/.zshrc

Now, install the serverless cli:

npm install -g serverless serverless-offline

Setup the project

git clone https://github.com/tenlisboa/go-passwordless-otp-auth.git
cd go-passwordless-otp-auth
go mod tidy

Deploying the project

make deploy-dev

About

This is an example of how can we do a OTP authentication with GoLang, DynamoDB and SES

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published