etl.js
- a process that fetches data from PNGX.com.pg and compare it against the database and save any data from PNGX that are missing from db.webhook.js
- to allow external connections into the system to receive payloadsws.js
- websocket addon to receive stock data in real-timesse.js
- websocket addon to send events to clientsRemove _id
when displaying stocks, tickers, indices, companies
Remove __v
when displaying stocks, tickers, indices, companies
Remove createdAt
and updatedAt
when displaying stocks, tickers, indices, companies
Added – for new features, Deprecated – for deprecated features that will be removed in future versions, Removed – for removed functions, Fixed – for fixed bugs and refactoring.
GET /api/v2/companies
POST /api/v2/stocks
GET /api/v2/tickers
GET /api/v2/tickers/:symbol
ticker
as a timeseries model to quote
modelcompany
modelv1.js
file and are accessible under the route /api/v1
server.js
were segregated into;
app.js
- for application logic,server.js
- for running the server,database.js
- for handling database connections,routes/index.js
, routes/v1.js
and routes/v2.js
- for handling routes,models/*
- for handling models,middlewares.js
- for handling middlewares,utils.js
- for handling utility functions,constants.js
- for keeping constants in one place, andserverless.js
- for running serverless app.Dockerfile
and docker-compose.yaml
fileOpenAPI
documentation at /api/docs
mongoose
to ^8.8.3
redis
to take of loadnode-celery
to handle tasks out of the main threadexpress-rate-limit
to limit the requestshelmet
STO
and NEM
property to modelOSH
and NCM
property to modeltimeseries
property to model