Repository for the Wex project.
- Clone the repository
- Copy the
.env.example
file to.env
and fill the variables. If you don't want to fill a thing, you can just rename and it will works as well. - Run
docker-compose up -d --build
in the root folder - Access the Api documentation at
http://localhost:2984/swagger-ui/index.html#/
You can also avoid using docker and run the application directly on your machine. To do so, follow the steps below.
As the application uses MySQL, you need to have it installed and running on your machine, if you don't want to install
it, you can change the application.yml
file to use an in-memory database like H2 by copying the application-test.yml
content as example.
- Run
mvn clean install
in the root folder - Copy the
.env.example
file to.env
and fill the variables. If you don't want to fill a thing, you can just rename and it will works as well. - Run
java -jar target/wex-purchase-transaction-0.0.1-SNAPSHOT.jar
in the root folder - Access the application at
http://localhost:2984/swagger-ui/index.html#/