Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

This repository contains a Dockerized Symfony application designed for local development. For the local environment, this setup provides a quick way to spin up and showcase the test assignment.

Getting Started

Prerequisites

Ensure you have Docker and Docker Compose installed on your machine.

Setup and Build

  1. Clone the repo

    git clone https://github.com/bumblecoder/tech-task.git
    cd tech-task
    cp code/.env code/.env.local && \
    sed -i 's|^DATABASE_URL=.*|DATABASE_URL="mysqli://docupet:password@mysql:3306/docupet_db"|' code/.env.local
  2. Build and start the Docker containers:

    make build

    This command will build and start the necessary Docker containers. The process may take some time.

    To destroy application: make down

  3. Access the application:

    By default, the application will be available on port 8088 of localhost. Ensure this port is available; otherwise, the build may fail.

    Open your browser and go to http://localhost:8088.

Endpoints

The following API endpoints are available:

  • GET /register — Registration page

Tests

docker compose exec php-fpm bin/phpunit

License

Distributed under the MIT License.

About

Pet registration

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages