This data server supports the Angular Labs.
It is mostly a RESTful API data server but it also passes through requests to Angular for the pages themselves.
- Install the libraries
npm install
- Freshen the data (optional)
node setOrderDates.mjs
- Start the server
npm run start
The actual database is in a flat JSON file called database.json. Feel free to edit it directly if you want to.
We have a Node script that will make the data appear more current. It simply sets all the order dates to within the last year, spread out evenly.