nanakwafo / Authentication-As-Microservice

Authentication as a microservice
0 stars 0 forks source link
api-rest containerization docker docker-compose jenkins-pipeline kubernetes kubernetes-deployment laravel-framework lumen-framework microservice microservices mysql nginx oop-principles php

Architectural Diagram

alt text

Database Diagram

alt text

Api Documentation

Documentation for this can be found on the Auth as a microservice

Setup/Run Instruction

1.Ensure Docker is running successfully on machine using the following command
docker --version&
2.Run the app using docker compose
docker-compose build && docker-compose up -d&
3.Run the app using docker stack
docker stack deploy -c docker-stack.yml authservice&
docker stack ls&
4.Run the app using kubernetes
Copy the current src content into the src folder in the kubernetes-deployment directory&
kubectl apply -f authentication-configmap.yml&
kubectl apply -f authentication-pod.yml&
kubectl apply -f authentication-service.yml&