Skip to content

ankitrajput0096/Spring_Security_Authorization

Repository files navigation

SPRING SECURITY AUTHORIZATION

Dockerized Spring Boot application with Spring boot Security.

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/Spring_Security_Authorization
    
  2. You need maven installed on your environment:

    Mac (homebrew):

    brew install maven
    

    Ubuntu:

    sudo apt-get install maven
    
  3. 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 And Running

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

mvn install

Build docker Image:

docker-compose build

Start docker:

docker-compose up

Your server should be now running on http://localhost:8090. Also, by default application will create two users with ADMIN and USER Authority access.

Get an access to all exposed API's with Postman

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

Built With

Contributing

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

Authors

  • Ankit Rajput - Initial work - Github

License

This project is licensed under the MIT License

Acknowledgments

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

Releases

No releases published

Packages

No packages published