A Blog made with Java Spring Boot, Vue and Tailwind CSS
Java 8
MongoDB
Vue frontend is already build, for a new build Node 16.3.1 and NPM 8.1.2 are needed.
run mvn clean package at the project root.
mvn clean packageThis will create a blogapp.jar file on target/ directory, with frontend files included.
if a new build for the Vue frontend is needed, an .env file has to be added with the value
VUE_APP_API_URL=http://localhost:8080/posts/
to build, go to src/front directory and run
npm install // to install node modules
npm run build this will create the static files into dist/.
From the project root, run
java -jar target/blogapp.jarThe blog can then be accessed from http://localhost:8080/.
The app will try using another port if 8080 is not available. At current version, the frontend is hardcoded to make API requests into port 8080.