initial rest api for react.js

This commit is contained in:
2026-06-29 18:54:40 +02:00
parent 2eb770a328
commit 22da85872d
17 changed files with 1999 additions and 649 deletions
+8
View File
@@ -0,0 +1,8 @@
nelmio_cors:
defaults:
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
allow_headers: ['Content-Type', 'Authorization']
allow_methods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS']
max_age: 3600
paths:
'^/api/': ~