https://github.com/salamonrafal/pdt-api
Parsing Document Tool
https://github.com/salamonrafal/pdt-api
api composer php php7 phpunit symfony4
Last synced: about 1 month ago
JSON representation
Parsing Document Tool
- Host: GitHub
- URL: https://github.com/salamonrafal/pdt-api
- Owner: salamonrafal
- Created: 2018-08-04T17:11:47.000Z (over 6 years ago)
- Default Branch: production
- Last Pushed: 2018-08-20T07:09:42.000Z (over 6 years ago)
- Last Synced: 2025-01-30T04:25:33.095Z (3 months ago)
- Topics: api, composer, php, php7, phpunit, symfony4
- Language: Roff
- Size: 367 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parsing Document Tool API
[](https://app.codacy.com/app/salamonrafal/pdt-api?utm_source=github.com&utm_medium=referral&utm_content=salamonrafal/pdt-api&utm_campaign=badger)
[](https://travis-ci.org/salamonrafal/pdt-api) [](https://coveralls.io/github/salamonrafal/pdt-api?branch=production) [](https://php.net/)## Index
* [Run server](#run-server)
* [Unit testing](#unit-testing)
* [Endpoints](#endpoints)## Run server
```bash
php bin/console server:run
```> If you're using a VM, you may need to tell the server to bind to all IP addresses:
>
> ```bash
> php bin/console server:start 0.0.0.0:8000
> ```## Unit testing
```bash
php bin/phpunit
```## Endpoints
* **/api/v1/info** - Displaying information about health status for service.
* **/api/v1/convert/{docId}** - Parsing uploaded PDF/DOC file and return HTML content
* **/api/v1/convert** - Uploaded and convert PDF/DOC file and return HTML content
* **/api/v1/upload/** - Upload file on storage