Skip to content

Commit

Permalink
Merge pull request #16 from ykropchik/BE-2
Browse files Browse the repository at this point in the history
Be 2 Готова регистрация и аутентификация
  • Loading branch information
prizman2000 authored Jun 10, 2022
2 parents c1031c4 + 51161b4 commit 03be305
Show file tree
Hide file tree
Showing 19 changed files with 1,895 additions and 110 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ MYSQL_USER=user
MYSQL_PASSWORD=password
MYSQL_ROOT_PASSWORD=password

DATABASE_URL="mysql://root:password@mysql:3306/dromreview?serverVersion=5.7&charset=utf8mb4"
DATABASE_URL="mysql://root:password@mysql:3306/drom_review?serverVersion=5.7&charset=utf8mb4"
8 changes: 7 additions & 1 deletion api/.env
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ APP_SECRET=e736c29721a058386dc4f2e0bde5746d
# 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://root:root@mysql:3306/dromreview?serverVersion=5.7&charset=utf8mb4"
DATABASE_URL="mysql://root:password@mysql:3306/drom_review?serverVersion=5.7&charset=utf8mb4"
# DATABASE_URL="postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8"
###< doctrine/doctrine-bundle ###

###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=caaf4dca4f560468924e788838d1a1a7
###< lexik/jwt-authentication-bundle ###
4 changes: 4 additions & 0 deletions api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
/var/
/vendor/
###< symfony/framework-bundle ###

###> lexik/jwt-authentication-bundle ###
/config/jwt/*.pem
###< lexik/jwt-authentication-bundle ###
3 changes: 3 additions & 0 deletions api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
"doctrine/doctrine-bundle": "^2.6",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.12",
"lexik/jwt-authentication-bundle": "^2.15",
"symfony/console": "*",
"symfony/dotenv": "*",
"symfony/flex": "^2",
"symfony/framework-bundle": "*",
"symfony/proxy-manager-bridge": "6.1.*",
"symfony/runtime": "*",
"symfony/security-bundle": "6.1.*",
"symfony/yaml": "*"
},
"config": {
Expand Down Expand Up @@ -71,6 +73,7 @@
}
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.4",
"symfony/maker-bundle": "^1.43"
}
}
Loading

0 comments on commit 03be305

Please sign in to comment.