The goal of this project is to secure movies-app using Keycloak(with PKCE). movies-app consists of two applications: one is a Spring Boot Rest API called movies-api and another is a ReactJS application called movies-ui
- Java
- SpringBoot
- KeyCloack
- MongoDB
- Angular
- NgPrime (ui-library)
- TypeScript
- imdbId API
- Docker
- KeyCloack
-
Spring BootWeb Java backend application that exposes a REST API to manage movies. Its secured endpoints can just be accessed if an access token (JWT) issued byKeycloakis provided.movies-apistores its data in aMongodatabase.movie-apihas the following endpointsEndpoint Secured Roles GET /api/userextras/meYes MOVIES_MANAGERandUSERPOST /api/userextras/me -d {avatar}Yes MOVIES_MANAGERandUSERGET /api/moviesNo GET /api/movies/{imdbId}No POST /api/movies -d {"imdb","title","director","year","poster"}Yes MOVIES_MANAGERDELETE /api/movies/{imdbId}Yes MANAGE_MOVIESPOST /api/movies/{imdbId}/comments -d {"text"}Yes MOVIES_MANAGERandUSER