An application that displays stock data from the IEX API and allows to perform analysis on the stock charts. This application was originally made for the Programmatic Content Management course at Tampere University of Technology. See it live in action at http://koodi.me.
- Browse IEX gainer stocks
- Browse all available stocks and search from them
- View stock information, news and chart
- Perform moving average analysis on stocks
- Save stocks to own list
First, create an environment variable file from the sample file env.sample
:
$ cp env.sample .env
$ vim .env
{EDIT FILE}
The GOOGLE_OAUTH_CLIENT_ID
and GOOGLE_OAUTH_CLIENT_SECRET
are not mandatory, but they are required for login services which are done via the Google OAuth2 API. For creating these for your local dev setup, navigate to https://console.developers.google.com/apis/dashboard, and:
- create a new project
- create credentials for that project
- use the client ID and secret from the credentials in the values for
GOOGLE_OAUTH_CLIENT_ID
andGOOGLE_OAUTH_CLIENT_SECRET
values in your.env
file, respectively - allow http://localhost/login/google as an authorized redirect URI
- Done!
Full instructions for Google Oauth2 available at https://developers.google.com/identity/protocols/OAuth2.
Navigate to the project root directory and run make all
.