This api creates and manages users Java code for recodecamp.com
This project uses edition 21 of Java - Java 21 LTS.
The Java Development Kit is platform specific. Follow the instructions described in each resource for your platform.
Windows
Ubuntu Linux
macOS
To verify that OpenJDK 21 has been successfully installed on your machine, open a terminal and run the following commands:
Java Runtime Environment
java -version
You should get an ouput similar to this one:
openjdk version "21.0.3" 2024-04-16
OpenJDK Runtime Environment Homebrew (build 21.0.3)
OpenJDK 64-Bit Server VM Homebrew (build 21.0.3, mixed mode, sharing)
Java Compiler
javac -version
You should get an ouput similar to this one:
javac 21.0.3
🏃 Run Application
To compile, package, and immediately run the Spring Boot application, use:
./mvnw spring-boot:run
To clean the project, removing all previously compiled files, then compile and package it:
mvn clean package
🐳 Docker
In the Dockerfile:
ENV MY_VARIABLE=value
With docker run:
docker run -e MY_VARIABLE=value myapp