Small web application to help convert paper documents into digital ones. This project is created as final project for my CS50 course that I did via edx
To run this on your computer execute following command:
cd src && php -S localhost:8000
If you now go to http://localhost:8000/api/
your should see some json
that indicates that your API is running.
- wkhtmltopdf: used to create PDF documents
- PHP
Some commands to test the API without the need for a user interface:
curl --data '<html><body>Hello <strong>world</strong></body></html>' http://localhost:8000/api/generate/
I use Heroku to host this project and use multi buildpack to add support for wkthmltopdf
.
The following button makes it possible to deploy this project on your own Heroku instance with a few easy clicks: