Μια μικρή, responsive εφαρμογή υπολογισμού φιλοδωρήματος (Tip Calculator) φτιαγμένη με Angular και SCSS.
Ο χρήστης μπορεί να υπολογίσει:
- το φιλοδώρημα (tip) ανά άτομο
- το συνολικό ποσό ανά άτομο
όταν μοιράζεται ένας λογαριασμός. Υπάρχει επίσης ιστορικό υπολογισμών και dark / light mode επιλογή.
- Angular
- TypeScript
- SCSS
- HTML5
src/
├── app/
│ ├── components/
│ │ ├── history-page/
│ │ │ ├── history-page.component.ts
│ │ │ ├── history-page.component.html
│ │ │ └── history-page.component.scss
│ │ ├── tip-form/
│ │ │ ├── tip-form.component.ts
│ │ │ ├── tip-form.component.html
│ │ │ └── tip-form.component.scss
│ │ └── result/
│ │ ├── result.component.ts
│ │ ├── result.component.html
│ │ └── result.component.scss
│ ├── services/
│ │ ├── theme.service.ts
│ │ └── tip-calculator.service.ts
│ ├── app.component.ts
│ ├── app.component.html
│ ├── app.component.scss
│ ├── app.config.ts
│ ├── app.routes.ts
│ └── app.module.ts
├── index.html
├── main.ts
└── styles.scss
- Κλωνοποιήστε το repository
- Εκτελέστε npm install για να εγκαταστήσετε τις εξαρτήσεις.
- Τρέξτε την εφαρμογή με ng serve --open ή εναλλακτικά με npm start.
- Ανοίξτε το πρόγραμμα περιήγησης στη διεύθυνση: http://localhost:4200/