Skip to content

Authentication and authorization microservice for Odeyalo-Netflix

Notifications You must be signed in to change notification settings

Odeyalo-Netflix/Netflix-Authentication

Repository files navigation

Authorization and authentication microservice using Spring Eureka

Table of contents

General info:

Authenticate and authorize user, contains users and user roles

Technologies used:

$ Java
$ Spring(Core, MVC REST, Data, Eureka Cloud)
$ Postgresql
$ Docker
$ Apache Kafka

Pre requirements

Installed docker on your PC

Setup

To run this microservice local you need:

$ Clone this repo 
$ Update local.env file. Add to this file your JWT_TOKEN_SECRET_KEY, GOOLGE_CLIENT_ID and GOOLGE_CLIENT_SECRET.
$ Add to auth.build.local.sh ACCESS_TOKEN value and build bash script using chmod +x auth.build.local.sh; 
$ Run script using: ./auth.build.local.sh
$ Run docker-compose up or build and run auth.run.local.sh

After following these steps you will have a working service, that you can easily send requests to localhost:8090.