Skip to content

9KicksXCUmart/9Kicks-Mircoservices-Go

Repository files navigation

9Kicks Microservice in Go

This is one of the microservice for the 9Kicks project. It is written in Go and uses the Gin framework.

Implemented features:

  • User registration with email verification
  • User login
  • User logout
  • User password reset
  • Product management
  • Full-text search with OpenSearch
  • Product review management

Prerequisites

  • AWS account
  • AWS DynamoDB
  • Docker
  • OpenSearch

Getting Started

cp .env.example .env

Input your credentials in the .env file.

AWS_ACCESS_KEY_ID="<your-aws-access-key>"
AWS_SECRET_ACCESS_KEY="<your-aws-secret-access-key>"
AWS_REGION_NAME="<your-aws-region-name>"

DB_TABLE_NAME="<dynamodb-table-name>"

OPENSEARCH_ENDPOINT="<opensearch-endpoint>"
OPENSEARCH_USERNAME="<master-username>"
OPENSEARCH_PASSWORD="<master-password>"

Build the Docker image:

docker build --no-cache -t 9kicks-go .

Run the Docker container:

docker run -p 8080:8080 9kicks-go

About

Micro-services of 9Kicks written in Go

Resources

Stars

Watchers

Forks

Packages

No packages published