Setup - Local environment
The first thing we need to do is to check the setup and download the necessary project to run the tests.
1. Check your machine
- JDK 17 + installed
- Modern IDE (Intellij, VSCode, etc...)
- Git
2. Using the backend project
The backend project was created using SpringBoot 3 and an in-memory database. You access it at https://github.com/eliasnogueira/credit-api.
You can use one of the following approaches to use the application:
JAR file
- Open the project package session on GitHub: https://github.com/eliasnogueira/credit-api/packages/1742648
- In the Assets session, download the
.jar
file - Open the Terminal and navigate to the folder the file was saved
- Start the application by running the following:
Direct project usage
- Clone the backend project running one of the following cloning methods:
https://github.com/eliasnogueira/credit-api/archive/refs/heads/main.zip
- Open the Terminal and navigate to the project directory
- Run the application
Running inside the IDE
You can also run the CreditApiApplication
class located at src/main/java
3. Access the OpenAPI specification
We will know a little bit more about the API using the OpenAPI specification as it will also be the entry point to run exploratory checks before the test automation.
- Clone the backend project by running one of the following cloning methods: