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
As the developers of monPlan, we would like to welcome you and thank you as you take your time visiting this Wiki.
Introduction
This is the API Server built on of Node.js used by monPlanR for server side logic. It is built on a Node.js stack for a modern and robust system. It has various packages such as Express.
The API is not backwards-compatible, any application that uses the API must upgrade request and response handling must upgrade their code upon every MINOR (v0.x.0) release.
How our API works
The API is designed to be robust, broken down into smaller packages allowing it so that if it breaks, only the packages break. Heres how the directory layer looks like (as of v0.3.15-rc2)
Then when you call the api, server.js does the relevant route (if missing it will repond with CANNOT GET blah), then each individual subdirectory under /app/ does the relevant route, it will respond with either a status 404 (missing) a status 500 (Server OK) or a status 200 then it will respond with the result.
We do query's do our database which is powered by Google's Datastore. The public release API is powered by MongoDB