https://github.com/pferreirafabricio/construp-webhook-receiver
๐งช Experimental API endpoint for receiving a webhook from Constr Up platform
https://github.com/pferreirafabricio/construp-webhook-receiver
apache construp docker docker-compose mysql nginx php php8
Last synced: 3 months ago
JSON representation
๐งช Experimental API endpoint for receiving a webhook from Constr Up platform
- Host: GitHub
- URL: https://github.com/pferreirafabricio/construp-webhook-receiver
- Owner: pferreirafabricio
- License: mit
- Created: 2023-06-13T01:07:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T16:59:45.000Z (over 1 year ago)
- Last Synced: 2025-02-24T06:11:33.638Z (over 1 year ago)
- Topics: apache, construp, docker, docker-compose, mysql, nginx, php, php8
- Language: PHP
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

PHP API structure ๐
## :open_book: About
This project is a simple PHP API structure for use in quick and small projects without frameworks.
## :bricks: This project was built with:
- [PHP](https://www.php.net/)
- [CoffeCode Router](https://github.com/robsonvleite/router)
- [MySQL](https://www.mysql.com/)
- [Nginx](https://www.nginx.com/)
- [Docker](https://www.docker.com/)
## :running_man: Installing and Running
1. Clone this repository `git clone https://github.com/pferreirafabricio/php-templateApi.git`
2. Enter in the project's folder: `cd php-templateApi`
3. Copy the .env.example file to .env: `cp .env.example .env`
4. Change the .env file with your configurations
5. Build the app image: `docker compose build app`
6. Start the containers: `docker compose up -d`
7. Install project's dependencies: `docker compose exec app composer update`
8. Finally you can visit [`127.0.0.1:8000/`](http://127.0.0.1:8000/) from your browser ๐
## :recycle: Contribute
1. Fork this repository;
2. Create a branch with your feature: ```git checkout -b my-feature```
3. Commit your changes: ```git commit -m 'feat: My new feature'```
4. Push your branch: ```git push origin my-feature```
## :page_with_curl: License
This project is under the MIT license. Take a look at the [LICENSE](LICENSE) file for more details.