ServerIndexing is a project created over Stack springBoot and Spring data MongoDB. The projects provides with multiple Rest API created by Spring Boot Web Pack. The project provides all the basic CRUD operations to mongoDB database with user accessible REST APIs. It also provides additional features like auto increment and muliple addition, deletion, updation over the database with one request.It also provides an Customized Exception Response for some operations which could be modified as per the need. We add Swagg UI which is an excellent tool for documenting of APIs call and provides a very clear and precise documentation for the project. The MongoDB database as well as SpringBoot server is been contanarized over the docker file for easy and fast deployment and sharing.
- Contanarize the REST APIs and MongoDB database over docker conatiner for easy and fast deployment.
- The docker installation includes detailed installation instructions as well as a comprehensive getting started guide for Docker.
These instructions will get your project running and deployed over Docker Hub.
- Git clone the reposity with command or fork it to you repository and git clone to that repository:
git clone https://github.com/vardhmanhundia/ServerIndex_Dockerized.git
- Install and run the Docker Hub on you system. You will find a dolphin symbol runnning and complete the login by creating and signing in to the docker account if account dosen't exists.
- Open cmd prompt and go to the root directory of the installed file.
- Now, run the MakeFile for functioning all the operations.
make run
- As soon as you run the command following things would happen:
- Would create a new build file using Maven Package
./mvnw clean package -B
- Now it would run the docker-compose.yml file which would create image for mongo with latest pack.
- It would also build and image file from the latest build jar and push it over the docker container.
- You can check the rest Apis corresponding to the server with the new Swagg UI documentation which provides a clear idea about all the APIs in the project.
Please CheckOut the updated versions for this project