michirem / FE21-CR6-MichaelR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FE21-CR6-MichaelR

This project was generated with Angular CLI version 11.2.5.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

For this CodeReview, the following criteria were graded:

  • Create a GitHub Repository named: FE21-CR6-Name. Push the files into it and send the link through the learning management system (lms). See an example of a GitHub link below: https://github.com/JohnDoe/repositoryname.git.
  • Implement theme design
  • Your project must contain at least 5 components that together should build up your project
  • Use routing to move between the pages. E.g.: your navbar contains 3 navigation links: Home, Blog and Travels. When you click Home you should see the content for the homepage. When you click Blog you should see the content for the Blog page and the Travels page will show all travel offers.
  • Each travel offer should display the following details: destination, description, start date(s), duration and price.
  • Create the functionality that when you click on a travel offer in the travel section, it will be added to your cart.
  • Display the shopping cart in a separate component.

Bonus Points:

  • Display the final sum of all the offers the users have selected(i.e Total costs)
  • If the total sum is more than EUR 200,-, the users get a 10% discount. If the total sum is more than EUR 500,-, then it is a 20% discount.

About


Languages

Language:TypeScript 48.4%Language:HTML 40.5%Language:SCSS 6.7%Language:JavaScript 4.4%