Code Monkey home page Code Monkey logo

groww-stonks's Introduction

GROWW-STONKS

The assignment assigned by Groww for the Frontend Developer Intern role involves the development of a web application using NEXT.js and the Alpha Vantage API. This application is designed to provide users with real-time insights into the current state of the financial market. It offers valuable information such as the top-performing stocks, the stocks with the most significant losses, and the most actively traded stocks. Additionally, the application furnishes comprehensive details about the companies, including their stock performance and other pertinent information. The goal is to create a user-friendly, data-driven web interface to facilitate informed decision-making by investors.

Features

  • Explore Page
    • Top gainers
    • Top loser
    • Most Actively Traded
  • Products
  • STOCK/EQUITY and ETF Search
  • Light and dark theme

API Reference

All the required data could be fetched from API endpoint provided by

  https://www.alphavantage.co

Screenshots

Explore Gainers, Losers and Most actively traded

App Screenshot

App Screenshot

The Explore page serves as a comprehensive resource for users, offering a curated list of the market's top-performing stocks, the most significant decliners, and the stocks that are currently experiencing the highest trading activity.

Product Page

App Screenshot

App Screenshot

The Product Page is a robust information hub dedicated to individual companies. It prominently features a performance graph, a critical element, illustrating the company's stock performance over time. Users can readily access a comprehensive profile of the company, encompassing its history, financial data, and pertinent market information.

Stock and ETF search

App Screenshot

App Screenshot

The Stock and ETF Search feature is a versatile tool that empowers users to swiftly locate and evaluate stocks and ETFs of interest. This feature includes a user-friendly search functionality, allowing users to efficiently search for specific stocks and ETFs. Furthermore, it offers filtering options that enable users to refine their search based on whether they are interested in ETFs, stocks, or a comprehensive search that encompasses both.

Graphs

App Screenshot

The Graph feature on the Product Page provides a dynamic representation of the company's stock performance. Users can select from various timeframes, including daily, weekly, monthly, and the broader perspectives of 3 months and 6 months. This versatility allows users to closely analyze and track the company's stock performance over different time horizons, aiding in the identification of trends and patterns that may inform their investment decisions.

Light and Dark Theme

App Screenshot

App Screenshot

Color Reference

Color Hex
Accent Green #25d7aa #25d7aa
Accent Blue #5266ff #5266ff
Primary White #f8fafc #f8fafc
Primary Black #1a1a1a #1a1a1a

Things Learnt

  • Using Redux in Next.js and redux-persitance
  • Handling of restricted API with low limits pushing me for using different techniques for error handling.
  • Explored various financial Jargons.
  • Important aspects of SSR, SSG and how to use them efficiently
  • Implementing Search Bar using debouncing, restricting unecessary API fetching and reducing load on sever.
  • Explored a lot of new concepts in Next.js 13 documentation
  • Ease of enabling dark/light theme using Next-Themes in very few steps

Problem Faced

  • Persisting redux store data in next.js
  • Dealing with 25 request as daily limit of Alpha Vantage API.
  • Poor Api structure, leading for the application to be more error prone.
  • Apex chart not working for small data values, used chart js as an alternative.

Installation and Running Locally

Install my-project with npm

git clone https://github.com/AmitSamui/groww-stonks.git
cd groww-stonks
npm install

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

NEXT_PUBLIC_ALPHA_VANTAGE_API_KEY

  • Paste your Alpha vantantage Api key here.

Spin up the server

npm run dev

Hope you had a great time exploring the project

๐Ÿ”— My Social Links

portfolio linkedin twitter

groww-stonks's People

Contributors

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