Home

Awesome

Minum example project

This is a simple project meant to demonstrate use of the Minum framework. A good starting point for reading this code is the Main and TheRegister class.

Quick start:

./mvnw compile exec:java

then visit http://localhost:8080

Press ctrl+c to stop.

./mvnw test

System requirements:

JDK version 21 is required, since it provides us the virtual threads we need.

Developed in two environments:

Step-by-step guide for installing Java on Windows:

  1. Download the binary by clicking here and selecting the Windows/x64 zip.
  2. Uncompress the zip file
  3. Add the home directory to your path. The home directory of Java is the one with "bin" and "conf" directories, among others. if you, for example, uncompressed the directory to C:\java\jdk-21, then in Windows you should add it to your path, following these instructions:

First-time use

  1. Start the application (see above)
  2. Go to http://localhost:8080
  3. Soak up the austere beauty of the homepage
  4. Click on Auth
  5. Click on Register
  6. Enter some credentials, such as foo and bar, click Enter
  7. Enter them again (you're logging in this time)
  8. Click on Sample domain
  9. Click on Enter a name
  10. Enter some names, pressing Enter each time.
  11. Click Index
  12. Click on Photos
  13. Click on Upload
  14. Select an image, enter a short caption and longer description
  15. Click Submit
  16. Click Index
  17. Click on Auth
  18. Click on Logout
  19. Go view the other pages again

Directories:

Root-level files: