Purpose - Added react router in App.js and added first route to navbar for "add expense" page
How to check -
Step 1: go to the branch on your local machine, run npm start on the client side
Step 2: check that the homepage (http://localhost:3000) now is the "add expense" page
Step 3: click on "Add Expense" in navbar, the link should not change
Step 4: click on "See Expenses", the link should change to "http://localhost:3000/#", because that page is not in the router yet and the link in the href in the navbar item has not been updated yet.
Please note: once you have other views finished, please add them to the router in App.js and update the path in the Navbar component in const NAV_ITEMS.
This is a:
Description
Links
Reminder to reviewers
Pull request - read the content of the PR itself (Conversation tab) and consider the following questions:
Code changes - read through the changeset (Files changed tab) and consider the following questions:
Software - check out the PR branch, run the software and consider the following questions:
Does the product still start and run correctly?
Is the goal of the pull request met (i.e. new behaviour for a new feature, changed behaviour for a bug fix, identical behaviour for a refactor)?
In the parts of the product this PR touched:
Is the spelling, punctuation and grammar for user-facing text correct?
Does the layout/UI match the designs?