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 each ships weapon power depending on how many weapons a ship poses and display it in the space-ship store-front.