You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add a initial config endpoint to let frontend fetch essential constants (like categories tree and technical specs nesting level or user account types or maximum product rating value) and cache it until config update is done on backend
refactor middleware-response-wrapper.ts module to wrap whole (chained) calls to res.status(..), res.json(..), res.sendStatus(..) etc. to have more robust type checking between HTTP status code and response data kind (i.e. 4xx HTTP codes may only be used with response containingerror data) [Refactored frontend routing and extended middleware response wrapper #47]
remove models-index.ts (re-exporting) module and instead import each Schema/Model stuff by individual modules. [update] this module was renamed and refactored in Refactored database models and API #54
A group of actions needed to improve app further development, building and testing:
README.mdwith it's generated markdown output (via i.e. jsdoc-to-markdown) [Introduce API documentation #58]middleware-response-wrapper.tsmodule to wrap whole (chained) calls tores.status(..),res.json(..),res.sendStatus(..)etc. to have more robust type checking between HTTP status code and response data kind (i.e.4xxHTTP codes may only be used with response containingerrordata) [Refactored frontend routing and extended middleware response wrapper #47]models-index.ts(re-exporting) module and instead import each Schema/Model stuff by individual modules.[update] this module was renamed and refactored in Refactored database models and API #54