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
- Host: GitHub
- URL: https://github.com/nanakwafo/authentication-as-microservice
- Owner: nanakwafo
- Created: 2020-01-26T13:05:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-01T22:22:31.000Z (about 5 years ago)
- Last Synced: 2025-01-17T02:14:58.250Z (over 1 year ago)
- Topics: api-rest, containerization, docker, docker-compose, jenkins-pipeline, kubernetes, kubernetes-deployment, laravel-framework, lumen-framework, microservice, microservices, mysql, nginx, oop-principles, php
- Language: VBA
- Homepage:
- Size: 29.8 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Architectural Diagram

## Database Diagram

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