🇩🇪Du willst mehr über meine Webseite und ihre Technologien wissen? Schau hier
My personal website powered by
- Spring Boot & Thymeleaf
- SCSS & TypeScript
Basically, it's just a webserver serving HTML. But it also has a contact form which sends e-mails and a crappy CAPTCHA, because I didn't want to use reCAPTCHA.
It's splitted in two modules
server= Contains all the backend stuff (It also serves the pages)
webdesign= Contains the frontend design stuff
Spring-devtool will do a warm restart if you change something. It's like JRebel but not that powerful.
Thymeleaf (HTML) changes will also be reloaded on the server in no time.
Sadly, webdesign changes only take effect after Intellij Idea:
Rebuild project. Maybe I'll find a better solution for that.
- In the root of this project:
mvn clean install
- To also clean webdesign dependencies:
mvn clean install -Pfrontend-clean
Start the webdesign proxy
During development you'll need a proxy that serves the written SCSS/JS on the fly:
npm run serve
It'll start a webserver on
/**= Will proxy to port
8080. Start the
serveron this port
/static/bundle.*= Will serve the latest built SCSS/JS
Changes made to SCSS/JS will automatically build and update in your browser.