An open API service indexing awesome lists of open source software.

https://github.com/nanakwafo/authentication-as-microservice

Authentication as a microservice
https://github.com/nanakwafo/authentication-as-microservice

api-rest containerization docker docker-compose jenkins-pipeline kubernetes kubernetes-deployment laravel-framework lumen-framework microservice microservices mysql nginx oop-principles php

Last synced: 2 months ago
JSON representation

Authentication as a microservice

Awesome Lists containing this project

README

          

## Architectural Diagram

![alt text](https://github.com/nanakwafo/authmicroservice/blob/master/authentication-design/images/icon1.png "Logo Title Text 1")

## Database Diagram
![alt text](https://github.com/nanakwafo/authmicroservice/blob/master/authentication-design/images/icon3.png "Logo Title Text 1")

## Api Documentation
Documentation for this can be found on the [Auth as a microservice](https://documenter.getpostman.com/view/1213803/SzKPWhH9?version=latest)

## 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 `&