Building simple "Choose Region" app with Spring Boot for backend and Vue JS with Vuetify for frontend.
- MySQL version 8 or above or MariaDB version 10 or above
- Java version 11
- Node Js version 12 or above
- Maven 3.6.3 or above
-
Create MySQL or MariaDB database
create database region
-
Clone The Application
git clone https://github.com/ghemulyanto/spring-boot-vue-vuetify-chain-select.git cd region
-
Change MySQL/MariaDB username and password according to your MySQL/MariaDB Installation
- open
src/main/resources/application.properties
file. - change
spring.datasource.username
andspring.datasource.password
properties value.
- open
-
Run the app
You can run the spring boot app by typing the following command -
mvn spring-boot:run
The server will start on port 8080.
-
Go to the
region-vuetify
foldercd region-vuetify
-
Then type the following command to install the dependencies and start the application
npm i && npm run serve
The front-end server will start on port 8081
.