Coder Social home page Coder Social logo

kelvinsanchez15 / stock-price-checker Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 153 KB

Information Security Project #1 - Stock Price Checker.

Home Page: https://stock-price-checker-kel.glitch.me/

JavaScript 63.48% HTML 36.52%
nodejs express freecodecamp information-security stock-price-checker jest supertest mongoose mongodb helmet

stock-price-checker's Introduction

Information Security Project #1 - Stock Price Checker.

View project

Stock Price Checker

User Stories

  1. Set the content security policies to only allow loading of scripts and CSS from your server.

  2. I can GET /api/stock-prices with form data containing a Nasdaq stock ticker and receive back an object stockData.

  3. In stockData, I can see the stock (the ticker as a string), price (decimal in string format), and likes (int).

  4. I can also pass along field like as true (boolean) to have my like added to the stock(s). Only 1 like per IP should be accepted.

  5. If I pass along 2 stocks, the return object will be an array with information about both stocks. Instead of likes, it will display rel_likes (the difference between the likes on both stocks) on both.

  6. A good way to receive current prices is through our stock price proxy (replacing 'GOOG' with your stock symbol): https://stock-price-checker-proxy--freecodecamp.repl.co/v1/stock/GOOG/quote

  7. All 5 functional tests are complete and passing.

Additional Dependencies

stock-price-checker's People

Contributors

kelvinsanchez15 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.