Giter Site home page Giter Site logo

frontend-assignment-main's Introduction

Frontend Task Essentially AI

Steps to complete the task

  1. Create a clone of this repo
  2. Complete the tasks given below
  3. Create your own public repo on github and push your code there
  4. Share the repo link as a reply to the mail

Overview

The task is to build a webpage to display the trade statistics (Open, High, Low, Close, Volume) of a particular stock for a particular day. You should use Polygon free tier API for this task (https://polygon.io/)

Individual tasks

  1. The given codebase has two parts, client and server.
  2. Go to server folder, you'll see in app.js that a POST route is exposed at /api/fetchStockData. Implement this API to fetch the trade statistics of a particular stock for a particular day using the Polygon API.
  3. Return only the required fields in the response in a json format. Handle various edge cases here along with relevant response codes.
  4. Go to client folder and run the react app. You'll see just a hello world screen for now.
  5. Create a form for the user to input the symbol of the stock and select a date and add a submit button.
  6. On submitting the form, send a request to the api route which is exposed and once the data is back, display the required details in the frontend (Open, High, Low, Close, Volume).

Evaluation criteria

  1. The logical correctness of all individual tasks mentioned above
  2. Tackling of edge cases
  3. Efficiency of the code
  4. Naming conventions (No need to follow any standard pattern, just describe the pattern and make sure the code is consistent with it)
  5. Project structure (Again, no need to follow a standard pattern. Just make sure the structuring is logical and describe it)
  6. Documentation (This can just be a readme file with bullet points, as long as it explains what you've implemented, you're good to go).
  7. Bonus points for interesting UI (This obviously won't be considered if the core functionality isn't present).

Optional tasks

  1. Imagine this is a real world scenario which thousands of users use to get the historic data of a stock for a particular day, how would this product change in order to improve the UX.
  2. What new features would you add in this product to increase it's utility for the end user.

frontend-assignment-main's People

Contributors

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