Dockerized Spring Boot applications (Authorization and Resource Server) with Dockerized postgreSQL server with Oauth 2 security (JPA, Hibernate, PostgreSQL)
These instructions will get you a copy of the project up and running on your local machine for development purposes. See running for notes on how to run the project on a system.
-
Clone the project to your local environment:
git clone https://github.com/ankitrajput0096/Spring_Boot_Oauth_2_Security
-
You need Docker to be installed:
https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe
Once you have docker installed on your environment, install the project dependencies via:
Build docker Image:
docker-compose build
Start docker:
docker-compose up
Start docker:
docker-compose up
Your Authorization server should be now running on http://localhost:8090 Your Resource server should be now running on http://localhost:8080
- Install Postman (https://www.getpostman.com)
- Import Postman collection from the
Spring_Boot_Ouath2.postman_collection.json
file - Enjoy !!
- Spring Boot - Spring Boot 2
- Maven - Dependency Management
- Docker - For containerization of application
- PostgreSQL - Database
- OAuth2 Boot - OAuth2 Boot
If you have any improvement suggestions please create a pull request and I'll review it.
- Ankit Rajput - Initial work - Github
This project is licensed under the MIT License
- Big thanks to Pivotal for Spring Boot framework, love it!