Skip to content

This project was completed as part of a group learning exercise.

Notifications You must be signed in to change notification settings

jensen/stonkcoin

Repository files navigation

Purpose

This project was completed as part of a group learning exercise.

Demo

Stonk Coin Example

https://stonkcoin.netlify.app/

Project Features

The only requirement for this project was the usage of the Polygon Stock API.

User Stories

  1. ✅ User can see the top 3 gainers and losers from the previous close.

Technical Specifications

Dependencies

  • react@next
  • remix
  • prisma
  • tailwindcss
  • postgres

Limited API Requests

The majority of the challenge lies in the limited number of requests allowed by the free plan on Polygon. With only five requests per minute we can use a caching layer to avoid errors due a 429 Too Many Requests status on response.

When a user loads the application it retrieves the lastest cached data and displays that while checking to see if the cache should be updated. If the cache is more than a minute old it will be updated in the background.

Project Setup

Local Development

$ npm run dev

Deployment

$ npm run build
$ netlify deploy --prod

About

This project was completed as part of a group learning exercise.

Resources

Stars

Watchers

Forks