Install the dependencies...
npm install
...then start in development mode:
npm run dev
Navigate to localhost:3000. The app should be running after the build is finished.
- Build a simple banking app consisting of login and a dashboard page using vue.
-
Make a simple login page consisting of username and password. Navigate to dashboard once user logs in.
-
Make a dashboard that has following features:
- Navbar with a logo(any), username and a logout(user should return to login page) button.
- Total balance.
- Debit and Credit buttons.
- On clicking one of the button, user can see a form with fields:
- Date
- Amount
- Remarks
- For debit form, user input amount is deducted from the total balance.
- For credit form, user input amount is added to the total balance.
- Table with fields:
- Date
- Remarks
- Amount
that displays the data user submitted in debit or credit forms.
- Put red background for debit and green background for credit in the table to differentiate the data.
- Link to another page when user clicks on date of the table.
- User can see the expenses and earnings of that particular date in this page.
-
The total balance should be updated with user input to debit or credit.
-
Make use of localstorage as database.
- If you can make login
- If you don't make use of any global state management.
- Make use of router provided by vue for page navigation.
- Make use of event handlers provided by vue.