Open-sourcing the whole API of Padlok is a step further the transparency of the application regarding your personal data. Padlok does not collect any personal data like your location, codes, addresses.
Even when sharing an address and codes, the api is designed to retrieve encrypted data ; and signed aes key to make the data unusable without the proper key that is contained within the url.
Padlok-API is built using Symfony Requires:
- PHP >= 8.3
- Composer
- ext-ctype, ext-iconv
You can run a local version of this api using Docker.
composer boot
Making sure the back-end is reliable and predictible is mandatory to keep Padlok activity. To prevent introducing issues ; or unexpected behaviors, the API is unit tested.
After running the composer environment, run the tests:
composer test
Plus, those tests are runned on push automatically using Github Workflows
Requirements for .env.local file:
DATABASE_URL
: Doctrine configuration; for storing shared info.MAILER_DSN
: The DSN used for sending feedback mailsSUPPORT_MAIL
: The mail address to send feedback mails to
Dev environment is at https://dev.padlok.app Prod environment is at https://api.padlok.app