This project is a Real-Time Flight Status Board built with React and TypeScript. It fetches flight details from an API and updates them in real time.
- Use TypeScript for type safety.
- Follow the React functional component structure and use hooks.
- Write modular code for easier maintenance. -Use Bootstrap for best UI practice.
In your project directory, run:
npm install
npm start
The app will run at http://localhost:3000/.
npm test
- Frameworks: Jest, React Testing Library
- Ensure core features, like API calls and UI updates are tested.
- Show an error message if API request fails.
- Show a spinner while fetching data.
- Handle cases when no flight data is available.
npm run build