A Symfony project created on April 5, 2018, 8:10 pm.
Install the dependencies and devDependencies and run the composer install.
$ git clone https://github.com/alexmarucci/PHPtest.git ./testphp
$ cd testphp
$ composer install
Create database schema for dev and test environment.
$ bin/console doctrine:database:create
$ bin/console doctrine:database:create --env=test
Populate both databases.
$ bin/console doctrine:migrations:migrate
$ bin/console doctrine:migrations:migrate --env=test
$ bin/console server:start
127.0.0.1:8000
$ ./vendor/bin/simple-phpunit
$ ./vendor/bin/behat
Main design patterns I have been used for this project
Plugin | Pattern |
---|---|
ADR | Action Domain Responder Pattern |
Visitor | Visitor Pattern |
BDD | Behaviour Driven Design |
TDD | Test Driven Design |
Command Bus | Command Bus |
- Write MORE Tests
- Add endpoint to get the data
- Better algorithm to check whether or not a store lies inside a particual location/Area