Open hiyaryan opened 7 months ago
Reports view can now connect to /weekly
endpoint of a new reports API on the backend. The API contains a single getWeeklyReport
controller at the endpoint. Express app is now configured for this API and can now be extended.
Clicking the button retrieves a reports object with a test summary.
This PR kicks off reports and closes #120. The first commits, creates a Dashboard component to display the reports. Creates a DashboardRoute to load the Dashboard components. Adds a dashboard nav item and navigation to
/reports
. Adds a new custom hook to fetch data at reports API. Adds an initial Dashboard page with a button to view a weekly report. Centers and adds margin to nav items in unstacked view.