Skip to content

Stock Prices API built-in Symfony which delivers historical stock prices data

License

Notifications You must be signed in to change notification settings

rezende79/stock-prices-api

Repository files navigation

Stock Prices API

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"
}

Deploy on Shared Server

  1. 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
  1. Point your domain directory to public

How to run locally (Docker is required)

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

📐 Built with

  • 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.

🏆 Authors

About

Stock Prices API built-in Symfony which delivers historical stock prices data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published