daffoxdev / sf-task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Task description

Task description you can find here Task.pdf

Technologies used:

  • Symfony 6
  • PHP 8
  • apache
  • postgreSQL
  • docker, docker-compose
  • api-platform
  • JWT
  • symfony messenger
  • swagger

Steps to set up:

Get up dockerized containers

make up

Go into container

make container

Install third-party dependencies

composer install

Run database migrations

bin/console d:m:migrate --no-interaction

Generate the SSL keys

https://github.com/lexik/LexikJWTAuthenticationBundle/blob/2.x/Resources/doc/index.rst#generate-the-ssl-keys

bin/console lexik:jwt:generate-keypair

Fill DB with some initial data

bin/console doctrine:fixtures:load

Fill free to test api via swagger ui or using postman

Go to localhost:8085/api/docs

User to use API:

  • username: api
  • password: api

About

License:MIT License


Languages

Language:PHP 87.9%Language:Shell 6.5%Language:Dockerfile 2.1%Language:Twig 1.9%Language:Makefile 1.6%