This project was completed as part of a group learning exercise.
https://stonkcoin.netlify.app/
The only requirement for this project was the usage of the Polygon Stock API.
- ✅ User can see the top 3 gainers and losers from the previous close.
- react@next
- remix
- prisma
- tailwindcss
- postgres
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.
$ npm run dev
$ npm run build
$ netlify deploy --prod