API for philippines regions, provinces, cities, and baranggays
- Create a db named location_db
CREATE DATABASE location_db;
- When you first run this all regions, provinces, cities, and baranggay will be saved automatically. You dont need to do anything it will create the table and insert the values. It will take sometime to save all the records and wait for the log message that says all records saved.
- Save and save all region, province, city, baranggay
- Get region, province, city, baranggay by id
- Get all region
- Get all province based on region
- Get all city based on province
- Get all baranggay based on city
- Spring boot
- Spring mvc
- Spring data jpa
- Softwares used
- MySQL
- Postman
- IntelliJ
docker network create pla-network
docker run -itd --rm -p 3307:3306 --network pla-network --name pla_mysql_server -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=pla_db mysql:8.0.32
docker run -itd --rm -p 8082:8082 --network pla-network --name pla_app pla