Skip to content

ahummel25/user-auth-api

Repository files navigation

Simple User Auth API built with Go and the Serverless framework

Reference the serverless.yml file in the root of the project. This is the main file used for deploying the serverless application.

Install Go

Install Serverless

Setup

$ git clone git@github.com:ahummel25/user-auth-api.git
$ cd user-auth-api
$ go mod install
$ go mod tidy

Development

$ go run server.go

connect to http://localhost:8080/graphiql for GraphQL playground

Test

$ go test ./...

Build/Deploy (Must have AWS credentials configured)

$ make deploy

License

MIT © Andrew Hummel