Display data from files online
Nelisa wants weekly reports that update every day.
- Create a web application with a route like
/sales/:week_nameto display sales for a given week.:week_nameis a variable: the route would look like this/sales/week1. - Sales should be read from the
<week_name>.csvfile, which should be updated daily. The updated sales data should be visible immediately after the sales file changed.
Learning areas
- Express basics;
- Creating routes in Express;
- Code reuse. Use modules you’ve already created;
- The User Experience of (web) apps.