Sign inSign up

yousef2005/auth-service

By yousef2005

•Updated 7 months ago

Image
0

2.2K

yousef2005/auth-service repository overview

⁠Auth Service

A production-ready authentication microservice built with Node.js and Docker as part of a cloud-native microservices architecture deployed on AWS EKS.

⁠Features

  • Node.js authentication API
  • Multi-stage Docker build
  • Non-root container execution
  • Optimized production image
  • Docker Compose support for local development
  • Kubernetes manifests included
  • GitHub Actions CI pipeline
  • AWS ECR image publishing
  • AWS EKS deployment support
  • Health and readiness endpoints

⁠Tech Stack

  • Node.js
  • Docker
  • Kubernetes
  • AWS EKS
  • Amazon ECR
  • GitHub Actions
  • Docker Compose

⁠Image Highlights

  • Production-ready image
  • Lightweight multi-stage build
  • Security best practices
  • Optimized Docker layers
  • Versioned image tags
  • Suitable for cloud-native deployments

⁠Container Port

5000

⁠Run

docker run -d -p 5000:5000 yousef2005/auth-service:latest

⁠Example

curl http://localhost:5000/health

⁠Part of a Cloud-Native Microservices Project

This image is one service within a larger microservices platform that includes:

  • Authentication Service
  • Products Service
  • Cart Service
  • Order Service

The platform demonstrates:

  • Docker
  • Kubernetes
  • AWS EKS
  • Amazon ECR
  • GitHub Actions CI/CD
  • Terraform
  • Docker Compose
  • Production deployment workflows

⁠CI/CD

Every push triggers an automated pipeline that:

  1. Builds the Docker image
  2. Runs validation steps
  3. Pushes the image to Amazon ECR
  4. Deploys to Amazon EKS using reusable GitHub Actions workflows

⁠Security

  • Multi-stage Docker build
  • Non-root container
  • Production-ready image
  • Health checks
  • Kubernetes-ready configuration

⁠Repository Structure

auth-service/
├── src/
├── controllers/
├── models/
├── config/
├── utils/
├── k8s/
├── Dockerfile
├── docker-compose.yml
└── .github/workflows/
  • auth-service
  • products-service
  • cart-service
  • order-service

⁠License

MIT

Tag summary

Content type

Image

Digest

sha256:a301fcfb0…

Size

49.2 MB

Last updated

7 months ago

docker pull yousef2005/auth-service