This project was generated with Angular CLI version 11.2.5.
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.
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
.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
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.