This project was made for Spring Boot and MongoDB with Docker
Project • How To Use • Credits • License
Mongo Express can be reached from localhost:8081
To clone and run this application, you'll need Docker, Java 18 and Maven installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/Mehmetulas98/SpringBootAPI
# Go into the repository
$ cd demo
# Create snapshot file under targe folder in Java project for Dockerfile
$ mvn clean package
# Build docker image with Dockerfile
$ docker build -t springboot-mongodb:1.0 .
# Run the app wih docker compose file
$ docker-compose -f docker-compose.yaml up
# Add database and table
$ For use API add "BookStores" database and "Book" table inside of this database.
This software uses the following technologies:
MIT