maanavshah/stock-market-india ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Node app that exposes an API for Indian stock market data, both NSE and BSE, like a single service I can run locally and call from the browser or Postman.
I want endpoints for things like market status, indices, company quote info, top gainers and losers, index stocks, intraday and chart data, futures data, and a few search helpers for NSE, plus similar index, stock, chart, gainers, losers, and turnover endpoints for BSE. Some responses can be JSON, and a couple can return HTML or XML if that makes sense for the data.
Please make it easy to run with one command, use the current docs online if you need to, and keep the responses clean and readable. If there are places where the exchange data is limited or inconsistent, just handle that gracefully instead of breaking the app.
Are you gonna build this?
make sure you review the code using coderabbit