Website π contributte.org | Contact π¨π»βπ» f3l1x.io | Twitter π¦ @contributte
Main goal is to provide example of native API to Nette.
https://examples.contributte.org/api-skeleton/
You will need PHP 8.1+
and Composer.
Create project using composer.
composer create-project -s dev contributte/api-skeleton acme
Now you have application installed. It's time to run it.
The easiest way is to use php built-in web server.
make dev
# php -S 0.0.0.0:8000 -t www
Then visit http://localhost:8000 in your browser.
API endpoints
- http://localhost:8000/api/_/ping
- http://localhost:8000/api/_/apidoc
- http://localhost:8000/api/v1/product
- http://localhost:8000/api/v1/product/123456
See how to contribute to this package.
This package is currently maintaining by these authors.
Consider to support contributte development team. Also thank you for using this project.