├── .browserslistrc ├── .editorconfig ├── .gitignore ├── .vscode └── extensions.json ├── README.md ├── angular.json ├── e2e ├── protractor.conf.js ├── src │ ├── app.e2e-spec.ts │ └── app.po.ts └── tsconfig.json ├── karma.conf.js ├── package-lock.json ├── package.json ├── src ├── app │ ├── app-routing.module.ts │ ├── app.component.css │ ├── app.component.html │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── components │ │ ├── brand-management │ │ │ ├── brand-management.component.css │ │ │ ├── brand-management.component.html │ │ │ └── brand-management.component.ts │ │ ├── brand │ │ │ ├── brand.component.css │ │ │ ├── brand.component.html │ │ │ └── brand.component.ts │ │ ├── car-details │ │ │ ├── car-details.component.css │ │ │ ├── car-details.component.html │ │ │ └── car-details.component.ts │ │ ├── car-list │ │ │ ├── car-list.component.css │ │ │ ├── car-list.component.html │ │ │ └── car-list.component.ts │ │ ├── car-management │ │ │ ├── car-management.component.css │ │ │ ├── car-management.component.html │ │ │ └── car-management.component.ts │ │ ├── color-management │ │ │ ├── color-management.component.css │ │ │ ├── color-management.component.html │ │ │ └── color-management.component.ts │ │ ├── color │ │ │ ├── color.component.css │ │ │ ├── color.component.html │ │ │ └── color.component.ts │ │ ├── customer │ │ │ ├── customer.component.css │ │ │ ├── customer.component.html │ │ │ └── customer.component.ts │ │ ├── filter │ │ │ ├── filter.component.css │ │ │ ├── filter.component.html │ │ │ └── filter.component.ts │ │ ├── login │ │ │ ├── login.component.css │ │ │ ├── login.component.html │ │ │ └── login.component.ts │ │ ├── navi │ │ │ ├── navi.component.css │ │ │ ├── navi.component.html │ │ │ └── navi.component.ts │ │ ├── pages │ │ │ └── home │ │ │ │ ├── home.component.css │ │ │ │ ├── home.component.html │ │ │ │ └── home.component.ts │ │ ├── payment │ │ │ ├── payment.component.css │ │ │ ├── payment.component.html │ │ │ └── payment.component.ts │ │ ├── register │ │ │ ├── register.component.css │ │ │ ├── register.component.html │ │ │ └── register.component.ts │ │ ├── rent │ │ │ ├── rent.component.css │ │ │ ├── rent.component.html │ │ │ └── rent.component.ts │ │ ├── rental │ │ │ ├── rental.component.css │ │ │ ├── rental.component.html │ │ │ └── rental.component.ts │ │ ├── user-profile │ │ │ ├── user-profile.component.css │ │ │ ├── user-profile.component.html │ │ │ └── user-profile.component.ts │ │ └── usermenu │ │ │ ├── usermenu.component.css │ │ │ ├── usermenu.component.html │ │ │ └── usermenu.component.ts │ ├── guards │ │ ├── admin.guard.ts │ │ └── login.guard.ts │ ├── interceptors │ │ └── auth.interceptor.ts │ ├── models │ │ ├── SingleResponseModel.ts │ │ ├── brand.ts │ │ ├── car.ts │ │ ├── carDetails.ts │ │ ├── carImages.ts │ │ ├── carInfo.ts │ │ ├── color.ts │ │ ├── creditCard.ts │ │ ├── customer.ts │ │ ├── customerDetails.ts │ │ ├── filter.ts │ │ ├── filters.ts │ │ ├── listResponseModel.ts │ │ ├── loginModel.ts │ │ ├── payment.ts │ │ ├── registerModel.ts │ │ ├── rental.ts │ │ ├── rentalDetails.ts │ │ ├── responseModel.ts │ │ ├── tokenModel.ts │ │ └── user.ts │ ├── pipes │ │ ├── credit-card-number.pipe.ts │ │ └── filter-pipe.pipe.ts │ └── services │ │ ├── auth.service.ts │ │ ├── brand.service.ts │ │ ├── car-image.service.ts │ │ ├── car.service.ts │ │ ├── color.service.ts │ │ ├── credit-card.service.ts │ │ ├── customer.service.ts │ │ ├── error.service.ts │ │ ├── payment.service.ts │ │ ├── rental.service.ts │ │ ├── storage.service.ts │ │ └── user.service.ts ├── assets │ ├── .gitkeep │ ├── ReCapProject-Frontend.JPG │ ├── Rent A Car Project.gif │ ├── car-logo.png │ ├── logo.JPG │ ├── logo.png │ ├── r1.JPG │ ├── r2.JPG │ ├── r3.JPG │ └── r4.JPG ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── favicon.ico ├── index.html ├── main.ts ├── polyfills.ts ├── styles.css └── test.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.spec.json └── tslint.json /.browserslistrc: -------------------------------------------------------------------------------- 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | 5 | # For the full list of supported browsers by the Angular framework, please see: 6 | # https://angular.io/guide/browser-support 7 | 8 | # You can see what browsers were selected by your queries by running: 9 | # npx browserslist 10 | 11 | last 1 Chrome version 12 | last 1 Firefox version 13 | last 2 Edge major versions 14 | last 2 Safari major versions 15 | last 2 iOS major versions 16 | Firefox ESR 17 | not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line. 18 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.ts] 12 | quote_type = single 13 | 14 | [*.md] 15 | max_line_length = off 16 | trim_trailing_whitespace = false 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | /dist 5 | /tmp 6 | /out-tsc 7 | # Only exists if Bazel was run 8 | /bazel-out 9 | 10 | # dependencies 11 | /node_modules 12 | 13 | # profiling files 14 | chrome-profiler-events*.json 15 | speed-measure-plugin*.json 16 | 17 | # IDEs and editors 18 | /.idea 19 | .project 20 | .classpath 21 | .c9/ 22 | *.launch 23 | .settings/ 24 | *.sublime-workspace 25 | 26 | # IDE - VSCode 27 | .vscode/* 28 | !.vscode/settings.json 29 | !.vscode/tasks.json 30 | !.vscode/launch.json 31 | !.vscode/extensions.json 32 | .history/* 33 | 34 | # misc 35 | /.sass-cache 36 | /connect.lock 37 | /coverage 38 | /libpeerconnection.log 39 | npm-debug.log 40 | yarn-error.log 41 | testem.log 42 | /typings 43 | 44 | # System Files 45 | .DS_Store 46 | Thumbs.db 47 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [] 3 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ReCapProjectFrontend 2 | Rent a Car Backend tarafindan sağlanan API desteği ile kullanıcılara hizmet sunan bu FrontEnd çalışmasında ANGULAR teknolojısı kullanılmaktadır. 3 | 4 | - Kullanıcı Kaydı / Girişi 5 | - Kullanıcı Bilgileri Günceleme 6 | - Araç Kiralama 7 | - Ödeme ve Kredi Kartı Bilgilerinin Yönetimi 8 | - Araçları Marka,Renk, ve Modeline göre Filtreleme 9 | - Araç Ekleme/Silme/Güncelleme 10 | - Marka Ekleme/Silme/Güncelleme 11 | - Renk Ekleme/Silme/Güncelleme 12 | 13 | işlemleri gerçekleştirilmiş ve geliştirilmeye devam edilmektedir.. 14 |
Brand Id | 7 |Brand | 8 |9 | |
---|---|---|
{{brand.id}} | 14 |{{brand.brandName}} | 15 |
16 | |
19 |
Brand : {{ car.brandName }}
36 |Model Year : {{ car.modelYear }}
37 |Color : {{ car.colorName }}
38 |Daily Price : {{ car.dailyPrice }} ₺
39 |Car Id | 7 |Model | 8 |Brand | 9 |Color | 10 |Model Year | 11 |Daily Price | 12 |Findex Score | 13 |15 | |
---|---|---|---|---|---|---|---|
{{car.carId}} | 20 |{{car.carName}} | 21 |{{car.brandName}} | 22 |{{car.colorName}} | 23 |{{car.modelYear}} | 24 |{{car.dailyPrice | currency:'₺'}} | 25 |{{car.findexScore}} | 26 |
27 |
29 | |
40 |
Color Id | 7 |Color | 8 |9 | |
---|---|---|
{{color.id}} | 14 |{{color.colorName}} | 15 |
16 | |
19 |
Customer Id | 5 |Customer Name | 6 |Company | 8 |Claims | 9 |Findex Value | 10 ||
---|---|---|---|---|---|
{{ customer.customerId }} | 15 |{{ customer.firstName + ' '+ customer.lastName }} | 16 |{{ customer.email }} | 17 |{{ customer.companyName }} | 18 |{{ customer.claims }} | 19 |{{ customer.findexScore }} | 20 |
Car Name | 89 |{{carToRent.carName}} | 90 |
Findex Score | 93 |{{carToRent.findexScore}} | 94 |
Rent Date | 97 |{{rental.rentDate | date : 'dd-LL-YYYY'}} | 98 |
Return Date | 101 |{{rental.returnDate | date : 'dd-LL-YYYY'}} | 102 |
Total Day | 105 |{{totalDay}} | 106 |
Daily Price | 109 |{{carToRent.dailyPrice | currency:'₺'}} | 110 |
113 | TOTAL PRICE114 | |
115 |
116 | {{totalPrice | currency:'₺'}}117 | |
118 |
RENTALS | 5 |||||
---|---|---|---|---|
Car | 8 |Customer | 9 |Company | 10 |Rent Date | 11 |Return Date | 12 |
{{ rental.carName }} | 17 |{{ rental.customerName }} | 18 |{{ rental.companyName }} | 19 |{{ rental.rentDate.toString().split("T")[0] }} | 20 |21 | {{ 22 | rental.returnDate == null 23 | ? null 24 | : rental.returnDate.toString().split("T")[0] 25 | }} 26 | | 27 |
My Rentals | 35 |||||
---|---|---|---|---|
Car Name | 40 |Customer | 41 |Rent Date | 42 |Return Date | 43 |Status | 44 |
{{rental.carName}} | 49 |{{rental.customerName}} | 50 |{{rental.rentDate | date}} | 51 |{{rental.returnDate | date}} | 52 |{{rentalStatus(rental)}} | 53 |