- JDK 17
- Maven
- Docker
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
-
Start the PostgreSQL container using
docker-compose
:docker-compose up -d
-
Build and run the project using Maven:
./mvnw spring-boot:run
-
Verify that the application is running by accessing the defined endpoints in your browser or using tools like cURL or Postman.
For example:
curl -u user:password http://localhost:8080/distance\?postcode1\=AB10%201XG\&postcode2\=AB21%209DA