A simple stock broker app
- Provide the fields stated in
.env.sample
- run
npm install
- run the
dev
script
- For the first time you are obtaining stock information, the app would fetch from a broker.
- For subsequent requests, the app would fetch from the database if the record isn't more than 5 minutes old
- Anytime we fetch a new record, we update the existing old record.
The symbol
field has a unique index.