Skip to content

tihomir-stefanov/coding-exercise-be

Repository files navigation

Task for Backend engineers

Task description

  1. Refactor the project to improve its architecture and make it more maintainable.
  2. Add tests to the project.

Project description

The project contains

  • Entities and their associations.
  • Login form and after successful login, you'll land on a page with some statistics.
  • Edit profile form.

Project setup

  1. Run the project with the docker setup. (Thank you Kévin Dunglas https://github.com/dunglas)
  2. Create the database with the following command: docker-compose exec php bin/console doctrine:database:create
  3. Update the schema with the following command: docker-compose exec php bin/console doctrine:schema:update --force
  4. Load the fixtures with the following command: docker-compose exec php bin/console doctrine:fixtures:load
  5. Open the project in your browser: https://localhost
  6. Login with the following credentials: username: john@lingoda.com, password: 123123

Symfony Docker

A Docker-based installer and runtime for the Symfony web framework, with full HTTP/2, HTTP/3 and HTTPS support.

CI

Getting Started

  1. If not already done, install Docker Compose (v2.10+)
  2. Run docker compose build --no-cache to build fresh images
  3. Run docker compose up --pull --wait to start the project
  4. Open https://localhost in your favorite web browser and accept the auto-generated TLS certificate
  5. Run docker compose down --remove-orphans to stop the Docker containers.

Features

Enjoy!

Docs

  1. Build options
  2. Using Symfony Docker with an existing project
  3. Support for extra services
  4. Deploying in production
  5. Debugging with Xdebug
  6. TLS Certificates
  7. Using a Makefile
  8. Troubleshooting

License

Symfony Docker is available under the MIT License.

Credits

Created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published