To follow the steps in this tutorial, you will need the correct version of Java and sbt. The tutorial requires:
- Java Software Developer's Kit (SE) 21
- Maven 3.6.3
To check your Java version, enter the following in a command window:
java -versionTo check your sbt version, enter the following in a command window:
mvn -versionIf you do not have the required versions, follow these links to obtain them:
The project was created with Spring Initializr
To build and run the project:
-
Use a command window to change into the example project directory, for example:
cd qrcode-spring -
Build the project. Enter:
mvn clean installor.\mvnw clean install. -
Run with:
java -jar target/registros-1.0.0-SNAPSHOT.jarThe project starts the embedded HTTP server. Since this downloads libraries and dependencies, the amount of time required depends partly on your connection's speed. -
After the message
br.com.registros.RegistrosApplication : Started RegistrosApplication, ...displays, enter the following URL in a browser: http://localhost:8080
The Spring responds: Index Page!
Próximos passos integrar com as Secrets/Tokens do Instagram