nydiarra / springboot-jwt

Example Springboot Application for Securing a REST API with JSON Web Token (JWT). For an example Integration with Angular (version 2+) go to https://github.com/ipassynk/angular-springboot-jwt
548 stars 331 forks source link

Docker containerization for portable APIs #11

Closed elastxy closed 6 years ago

elastxy commented 6 years ago

After I tried this excellent tutorial, and protect my APIs with token based authentication, I soon needed to have a little portable OAuth2 server running near my application stack, for test and development purposes. And the sample APIs of tutorial perfectly suited my needs.

So, I added basic containerization deployment capabilities through Docker and explained it through main README.md and README.md near Dockefile, as a third running mode (or deployment flavour).

Hope it helps someone else want to port this nice running tutorial!

PS: tested with Windows 8.1 (Docker Toolbox) and Linux (CentOS 7)

nydiarra commented 6 years ago

Elastxy

Thanks for your contribution. Please give me a couple of days to fully review your PR before approving.

nydiarra commented 6 years ago

Looks good!