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

https://github.com/ankitrajput0096/zuul_proxy_springboot

Dockerized Spring Boot application with Zuul Proxy and client services.
https://github.com/ankitrajput0096/zuul_proxy_springboot

docker docker-compose java routing spring-boot zuul-proxy

Last synced: 3 months ago
JSON representation

Dockerized Spring Boot application with Zuul Proxy and client services.

Awesome Lists containing this project

README

        

# Zuul Proxy - Client Spring boot application

Dockerized Spring Boot application with Zuul Proxy and client services.

## Getting Started

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.

### Prerequisites

1. Clone the project to your local environment:
```
git clone https://github.com/ankitrajput0096/Zuul_Proxy_SpringBoot
```

2. You need Docker to be installed:

#### Windows:
https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe

#### Mac:
https://download.docker.com/mac/stable/Docker.dmg

#### Ubuntu:
https://docs.docker.com/install/linux/docker-ce/ubuntu/

### Installing

Once you have docker installed on your environment, install the project dependencies via:

Build docker Image:

```
docker-compose build
```

## Running

Start docker:

```
docker-compose up
```

Your Zuul proxy server should be now running on http://localhost:8000, zuulClientOne server should be now running on http://localhost:8040 and zuulClientTwo server should be now running on http://localhost:8050

## Get an access to all exposed API's with Postman

1. Install Postman (https://www.getpostman.com)
2. Import Postman collection from the `Zuul_Proxy_SpringBoot.postman_collection.json` file
3. Enjoy !!

## Built With

* [Spring Boot](https://spring.io/projects/spring-boot) - Spring Boot 2
* [Maven](https://maven.apache.org/) - Dependency Management
* [Docker](https://www.docker.com/) - For containerization of application
* [Zuul](https://spring.io/guides/gs/routing-and-filtering/) - For Routing and Filtering using Zuul

## Contributing

If you have any improvement suggestions please create a pull request and I'll review it.

## Authors

* **Ankit Rajput** - *Initial work* - [Github](https://github.com/ankitrajput0096)

## License

This project is licensed under the MIT License

## Acknowledgments

* Big thanks to Pivotal for Spring Boot framework, love it!