AndrewJBateman / angular-budget-app

:clipboard: Angular tutorial app to create a simple budget calculator. Tutorial Code by Devstackr.

Home Page:https://AndrewJBateman.github.io/angular-budget-app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚑ Angular Budget App - Tutorial Code by Devstackr

  • Angular tutorial app to add items to a budget list.
  • Balance shown at top. Inputs section where an item can be added - positive numbers are income and negative numbers are expenses - shown in separate columns.
  • Clicking on a budget item opens a modal where the item amount and description can be edited.
  • All code by Devstackr from Youtube Tutorial Angular - Build a Budget Calculator Application.
  • Note: to open web links in a new window use: ctrl+click on link

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

πŸ“„ Table of contents

πŸ“š General info

  • Youtube tutorial uses Angular v7 upgraded to v14.
  • Angular material installation is now much easier than as shown in the video.

πŸ“· Screenshots

Angular page Angular page

πŸ“Ά Technologies

πŸ’Ύ Setup

  • npm i to install dependencies
  • To start the server on localhost://4200 type: 'ng serve'
  • npm run build to create build files in docs folder

πŸ’» Code Examples

  • Modal created using Angular MatDialog service.
onCardClicked(item: BudgetItem) {
  const dialogRef = this.dialog.open(EditItemModalComponent, {
    width: '580px',
    data: item
  });

  dialogRef.afterClosed().subscribe(result => {
    if (result) {
      this.update.emit({
        old: item,
        new: result
      });
    }
  })
}

πŸ†’ Features

πŸ“‹ Status & To-do list

  • Status: Working in desktop mode but does not resize correctly to mobile size.
  • To-do: Nothing

πŸ‘ Inspiration

πŸ“ License

  • This project is licensed under the terms of the MIT license.

βœ‰οΈ Contact

About

:clipboard: Angular tutorial app to create a simple budget calculator. Tutorial Code by Devstackr.

https://AndrewJBateman.github.io/angular-budget-app/

License:MIT License


Languages

Language:TypeScript 62.2%Language:SCSS 15.7%Language:HTML 14.8%Language:JavaScript 7.3%