A webshop project from 2015 rebooted, demo https://www.youtube.com/watch?v=gUCBCB0Om-8
(swish payments!)
The project is written as a java EE webshop application with the following stack
While we could have replaced these with something never and more interesting, I think it would be more fun/challenging to keep the stack in place. I like to have some diversity in my projects, not everything has to be NoSQL and SPA :) I'm not much for EE, application servers, servlets and all that enterprisey stuff.
Challenges
Super easy,
./gradlew jarProduces a standalone jar with an embedded application server.
If you want docker,
./gradlew jar && docker build .Needs at least one MySQL server, we are using 8.0.12 for development.
Preload a new database with the file database.sql.
The default configuration looks like,
{
"jdbcUrl" : "jdbc:mysql://localhost:3306/webshop?useSSL=false",
"databaseUser" : "root",
"databasePass" : "",
"swishReceiver" : "07372151522"
}
This is my development settings, you you will need to place a file called application.json beside your
jar, with values that matches your environment.
Start the application with,
java -jar <fileName>.jarfor docker,
docker run -it -p 8080:8080 <imageName>Contributions are always welcome! pull requests, code reviews, new issues, comments on existing issues etc.