Stock Prices API built-in Symfony API which delivers historical stock prices data.
Send an JSON object in the format bellow to /historical-data
and voilá (see the Google stock prices).
{
"companySymbol": "GOOG",
"startDate": "2020-08-01",
"endDate": "2020-08-07",
"email": "your_email_here"
}
- Do this bellow inside your domain directory
git init
git remote add origin https://github.com/rezehnde/stock-prices-api.git
git pull origin master
composer update
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
- Point your domain directory to
public
mkdir leadhack-backend
git init
git remote add origin https://github.com/rezehnde/stock-prices-api.git
git pull origin master
docker-compose up -d --build leadhack
docker-compose run --rm composer update
docker-compose run --rm php bin/console doctrine:database:create
docker-compose run --rm php bin/console doctrine:migrations:migrate
- Symfony - PHP Framework
- API Platform - REST and GraphQL framework to build modern API-driven projects
- Composer - A Dependency Manager for PHP
- Docker - Help developers and development teams build and ship apps.
- Marcos Rezende - Initial work - Software Engineer