https://github.com/ttskch/phpcon-2024-api-platform-demo
https://github.com/ttskch/phpcon-2024-api-platform-demo
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ttskch/phpcon-2024-api-platform-demo
- Owner: ttskch
- License: mit
- Created: 2024-12-13T08:58:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-16T09:41:00.000Z (over 1 year ago)
- Last Synced: 2024-12-16T10:31:43.618Z (over 1 year ago)
- Language: PHP
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# phpcon-2024-api-platform-demo
## What's this?
This is a demo project for my talk at [PHP Conference Japan 2024](https://phpcon.php.gr.jp/2024/).
See also:
* https://fortee.jp/phpcon-2024/proposal/8ec3f2ee-7187-4c79-b5a9-c92f032b1455
* https://speakerdeck.com/ttskch/phpcon-2024-intro-to-api-platform
## Installation
```shell
git clone git@github.com:ttskch/phpcon-2024-api-platform-demo.git
```
## Usage
```shell
cd phpcon-2024-api-platform-demo
composer install
php artisan serve --port 8000
```
```shell
cd phpcon-2024-api-platform-demo/frontend
pnpm install
pnpm dev --port 3001
# You can also use npm or yarn
```
And access to:
* http://localhost:8000/api (backend)
* http://localhost:3001 (frontend)