Skip to content

ChillYao/go-aws-user-login-registration-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

A User Login/Regestration App based on GO & AWS

Table of Contents
  1. About The Project
  2. Built With
  3. Getting Started
  4. Usage
  5. Roadmap
  6. Contact

About The Project

This Project is built by Golang and AWS. The user can be registered by /register and can be loged in by /login.

System Diagram

System Diagram

AWS Cloud Diagram

AWS Diagram

User Flow Chart

User Diagram

(back to top)

Built With

This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.

  • aws
  • go

(back to top)

Getting Started

In order to run this project, you need the following stuff.

Install Golang

The Golang can be installed by golang official website

Get latest Version of AWS CLI

The latest version of AWS can be installed or updated by Install/ Update AWS CLI

AWS User Permission

  • Create the Admin user.
  • Get the access_key_id and secret_access_key.

Configure AWS CLI

Install CDK

Install the AWS CDK by:

npm install -g aws-cdk

For detailed info, it can be found by: AWS CDK Installation.

(back to top)

Usage

  • Clone/Downlaod this repository.

  • Go to the base folder.

  • Install all the needed dependencies by:

    go get
  • Go to lambda folder, build executable files and zip the lambda to binary function

    cd lambda
    GOOS=linux GOARCH=amd64 go build -o bootstrap
    zip function.zip bootstrap
  • Or this step can be done by running Makefile in lambda folder

    cd lambda
    make build
  • Before deployment, the change can be checked by

    cdk diff
  • Deploy the project to AWS by

    cdk deploy

(back to top)

Roadmap

  • CDK Setup and Init
  • Creating Serverless Function
  • Building and Deploying Lambda
  • Creating App Structs
  • Setup DynamoDB
  • API Handler Setup
  • Using Interface to decouple the DB
  • Hashing Password
  • API Gateway Setup
  • Creating JWT
  • Middleware Setup

(back to top)

Contact

Tong Yao - @Tong Yao

Project Link: https://github.com/ChillYao/go-aws-user-login-registration-project

(back to top)

About

aws & go project, which implements user login/registration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published