Skip to content

Release/1.0.0 #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,31 @@ APP_SECRET=01324d73757787ffeba5f2f76cec1a28

###> app ###
APP_PATH_PREFIX=/api/v2
APP_PROJECT_URI=https://${COMPOSE_DOMAIN}

OPENAPI_TITLE='Event Database'
OPENAPI_DESCRIPTION='API for the Event Database'
OPENAPI_CONTACT_NAME='Contact Name'
OPENAPI_CONTACT_URL='https://github.com/itk-dev/event-database-api/'
OPENAPI_CONTACT_EMAIL='contact@example.org'
OPENAPI_TERMS_OF_SERVICE='https://example.org'

# Must be valid json, usernames and apikeys must be unique
# APP_API_KEYS='[{"username": "user1", "apikey": "api_key_1"}, {"username": "user2", "apikey": "api_key_2"}]'
# APP_API_KEYS='[{"username": "user_1", "apikey": "api_key_1"}, {"username": "user_2", "apikey": "api_key_2"}]'
APP_API_KEYS=[]
###< app ###

###> api-platform/core ###
PAGINATION_ITEMS_PER_PAGE=20
PAGINATION_MAXIMUM_ITEMS_PER_PAGE=50
###< api-platform/core ###

###> INDEX ###
INDEX_URL=http://elasticsearch:9200
INDEX_EVENTS_ALIAS=events
INDEX_ORGANIZATION_ALIAS=organization
###< INDEX ###

###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
###< doctrine/doctrine-bundle ###

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
CORS_ALLOW_ORIGIN='*'
###< nelmio/cors-bundle ###
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ See [keep a changelog] for information about writing changes to this log.

## [Unreleased]

## [1.0.0] - 2024-09-11

### Added

- Symfony core.
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"ext-ctype": "*",
"ext-iconv": "*",
"api-platform/core": "^3.2",
"doctrine/doctrine-bundle": "^2.11",
"doctrine/doctrine-migrations-bundle": "^3.3",
"doctrine/orm": "^2.17",
"elasticsearch/elasticsearch": "^8.13",
"nelmio/cors-bundle": "^2.4",
"phpdocumentor/reflection-docblock": "^5.3",
Expand Down Expand Up @@ -99,6 +96,8 @@
"psalm/plugin-symfony": "^5.1",
"symfony/maker-bundle": "^1.52",
"symfony/phpunit-bridge": "^7.0",
"symfony/stopwatch": "6.4.*",
"symfony/web-profiler-bundle": "6.4.*",
"vimeo/psalm": "^5.16",
"weirdan/doctrine-psalm-plugin": "^2.9"
}
Expand Down
Loading
Loading