GithubHelp home page GithubHelp logo

amodttech / react-hooks-practice-stocks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from learn-co-curriculum/react-hooks-practice-stocks

0.0 0.0 0.0 1.73 MB

HTML 26.77% JavaScript 69.95% CSS 3.28%

react-hooks-practice-stocks's Introduction

Practice Challenge: Flatiron Stock Exchange

demo

Welcome to the Flatiron Stock Exchange!

Today, you are a broker who is trying to better organize the stocks available on the Flatiron Stock Market.

Setup

All the stock data about can be found in the db.json file. We'll be using json-server to create a RESTful API for our database.

Run npm install to install our dependencies.

Then, run npm start to start up json-server on http://localhost:3001/stocks alongside our React app at http://localhost:3000.

Deliverables

After the stocks are fetched, your job is to:

  • Render all the stocks onto the page. The styling of how a Stock should look like is already in the Stock component.

  • Allow a user to buy a stock by clicking on it and when it is bought, it should be added to MyPortfolio.

  • Allow a user to sell a stock in their Portfolio by clicking on the stock and it should be removed from their Portfolio.

  • Allow a user to sort the list of stocks alphabetically by the ticker name as well as by ascending price.

  • Allow a user to filter stocks based on the type of the stock.

Best of luck!

react-hooks-practice-stocks's People

Contributors

dependabot[bot] avatar lizbur10 avatar rrcobb avatar ihollander avatar geluso avatar amodttech avatar thuyanduong-flatiron avatar hyeokjungkim avatar notnotdrew 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.