Skip to content

Commit e066565

Browse files
committed
Build sample app
1 parent 37defaa commit e066565

File tree

16 files changed

+1476
-122
lines changed

16 files changed

+1476
-122
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
.idea
22
###> symfony/framework-bundle ###
33
/.env.local
44
/.env.local.php

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
To observe the problem:
2+
3+
```bash
4+
composer update
5+
symfony server:start -d
6+
```
7+
8+
View in web browser:
9+
10+
https://127.0.0.1:8000/api
11+
12+
Inspect the examples of the resources. None of the provided example values are used.

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
"php": ">=8.2",
88
"ext-ctype": "*",
99
"ext-iconv": "*",
10+
"api-platform/core": "^3.2",
11+
"symfony/asset": "7.0.*",
1012
"symfony/console": "7.0.*",
1113
"symfony/dotenv": "7.0.*",
1214
"symfony/flex": "^2",
1315
"symfony/framework-bundle": "7.0.*",
1416
"symfony/runtime": "7.0.*",
17+
"symfony/twig-bundle": "7.0.*",
1518
"symfony/yaml": "7.0.*"
1619
},
17-
"require-dev": {
18-
},
1920
"config": {
2021
"allow-plugins": {
2122
"php-http/discovery": true,

0 commit comments

Comments
 (0)