- Install dependencies in both
/backend
and/frontend
(npm install
) - Run
npm start
command in both/backend
and/frontend
directories Open [http://localhost:3000] to view app in your browser. - Run
npm build
for production build app;
Host server = "http://localhost:3001" and defined in './src/api'.
- Added absolute path '@/' with tsconfig and webpack
- ./src/utils/fixedZeroBug.ts - fixed Zero Hour and Zero Minutes bugs from server data with random hours and minutes.
- Loading state for Flights handled with Skeleton component from MUI.
- Error state for Flights handled with buttons "Refresh a page"
- Sort for flights has query-in-url implementation.
- Added "Duration" sort option
- My component SelectInput for sorting is responsive.
- ConfirmationPage has button "Return to Flights"
- Airlines Logo component handles error with LogoError.png to save css and UI.
- Changed react favicon to airplane icon.
- Production build with webpack optimization.
Mobile: 375px -> 767px
Tablet: 768px -> 1023px
Desktop: >= 1024px