install all deps: npm i
start the project: npm run dev
- Uses websocket to subscribe to trade stream in binance
- Since the tokens should be from the binance chain and could not find a proper api for that, declared a few tokens as json in the public folder and called it axios calls.
- Price update from USDT to INR from trade ws
- Estimate number of token that can be bought from the entered amount calculation.
- Search from the fetched db. ( improve: could have used react-query for cache )
- Change the token from the search modal hence changing the subscription.
- Basic navigation
- Responsiveness
- Few animation with framer motion
- Debounced search with useDebounceFilter hook
- Amount validation in card
- Reusable components
- Typescript and Tailwind implementation.
- Toast to show if subscription was successfully connected.