-
Clone this repository
-
From root, run
composer install
-
Add the correct database configurations to
app/config/parameters.yml
database_host: 127.0.0.1 database_port: database_name: database_user: database_password:
-
Run
bin/console doctrine:schema:create
-
Run
bin/console countries:fetch
to fetch all countries and save them to DB -
Run
bin/console server:run
to start Symfony's built in server -
Send a request to
http://127.0.0.1:8000/country
to get a list of countries