Skip to content

Commit 868fed1

Browse files
committed
add API Platform
remove old api [*]
1 parent 00a6852 commit 868fed1

File tree

12 files changed

+613
-141
lines changed

12 files changed

+613
-141
lines changed

.env.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
2222
# Delivery is disabled by default via "null://localhost"
2323
MAILER_URL=null://localhost
2424
###< symfony/swiftmailer-bundle ###
25+
26+
###> nelmio/cors-bundle ###
27+
CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
28+
###< nelmio/cors-bundle ###

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"php": "^7.1.3",
66
"ext-ctype": "*",
77
"ext-iconv": "*",
8+
"api-platform/api-pack": "^1.1",
89
"easycorp/easyadmin-bundle": "^1.17",
910
"friendsofsymfony/user-bundle": "~2.0",
1011
"jms/serializer-bundle": "^2.4",

0 commit comments

Comments
 (0)