Social Media Backend API with multiple REST API endpoints capable of performing multiple functionalities.
- Spring Boot, JPA, MongoDB, MySQL, Docker, Spring Security.
- Docker Installed and Running
- Java 17 or Higher
- Clone this repository in your local machine.
- Once the project is cloned to your local machine. Go to the project directory folder and run these commands:
docker-compose -f docker-compose-mysql.yml up -d
docker-compose -f docker-compose-mongodb.yml up -d
- Finally, Run the program using your preferred IDE or by running the JAR file.
- NOTE: you can also run the spring boot app docker-compose file to create an image and container for the app:
docker-compose up -d
- Before running the spring-boot app container, make sure both MySQL and Mongo containers are running.