This project aims to functionally replicate the requisites of the picpay-backend-challenge using spring boot and docker to elaborate a functional payments api using mocked resources.
This project is still a work in progress, new features shall be added over time.
Below are registered some goals and additions with respective status to be added. Issues can be addressed on Issues section of this repository.
High-level plan is represented in the table
| Feature | Status |
|---|---|
| Transfers API | Completed ✔️ |
| Test Containers | Completed ✔️ |
| Transfer Endpoint Unit Tests | Completed ✔️ |
| Transfers History | WIP 👷 |
| Transaction Support | Completed ✔️ |
Note: Current project uses maven for dependency management and build tasks, to the following steps shall be based on it as well. More documentation about maven can be found at Official Apache Maven documentation
To self-host the spring boot api run below command on terminal:
git clone https://github.com/chrisbewz/picpay-backend-springboot.git
cd docker
docker compose -f ./docker-compose-infrastructure-dev.yml up -dThis will configure/start infrastructure services need by api to work properly such as:
- Postgres Transactions Database
After cloning repo contents to local environment, to build the project the following command must be run on terminal:
cd repo-root
mvn clean buildmvn clean package
mvn picpay-backend-application:run
If you like my work, feel free to:
⭐ this repository. Thanks a bunch for supporting me!