First checkout the repository and run the following command to install dependencies:
npm install
Then, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Goal of this exercise is to show space-ships that are on sale.
Hint: There is an example for a styled sales label in line src/bounded_contexts/space-ship-store-front/ui-adapter/ship-component.tsx:49
you can use to display the sales label.
The first step is to mark a space-ship on sale if a space-ship is on sale.
If a ship is on sale then the price is reduced by 10%. The old price should also be displayed but crossed out.
The customer does not have to pay an interest rate if the space-ship is on sale.
The sales banner and the price reduction should also apply on May the 4th on all products.
Goal of this exercise is to calculate the weapon power for the weapon inventory. If the imperial controller appear, you have to have a list of your weapons and weapon power ready.
Display the number of weapons of each type.
Assign a weapon power to each kind of weapon and display a summarized weapon power per weapon type
Display a aggregated weapon power for the whole inventory