/look-in-tens

Look up public companies’ PE10 metrics

Primary LanguageElixir

Build Status

Look in Tens

By typing a public company’s name or stock ticker in a search box, instantaneously get its PE10.

Visit the development website: http://www.lookintens.com.

Development

Please, use .editorconfig.

External Dependencies

Install and Run

  1. From your app directory in the terminal, install Elixir dependencies with mix deps.get
  2. Install npm dependencies with npm install
  3. Create database with mix ecto.create
  4. Migrate database with mix ecto.migrate
  5. Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

Seed

  1. Run iex -S mix
  2. Run Scraper.scrape

Now you can hit json endpoints such as:

  • localhost:4000/api/companies/1 or
  • localhost:4000/api/companies/search/#{your_query_string}