This is a flight management app built with React, MUI Joy, Jotai state management and 3 of TanStack tools. The app includes pages such as login, signup, landing page, and dashboard, and is designed to be fully mobile responsive with infinite scroll.
- Authentication: Secure login and signup functionalities with form validation.
- URL synced Dashboard: A central hub to manage and view detailed flight information shown with TanStack React Table.
- Infinite Scroll & Responsive Design: Optimized for both desktop and mobile devices, ensuring a seamless experience across all screen sizes.
- State Management: Utilizes Jotai & TanStack Query for efficient and simple state management across the app.
- Form Handling: Implements TanStack React Form for robust form management, including image file uploads with previews.
Follow these instructions to set up the project locally.
- Node.js: v18 or later is recommended.
- Package Manager: npm or yarn. flights server does not work with yarn pnp or pnpm
-
Clone the repository:
git clone https://github.com/YusefNsar/flights-info.git cd flights-info -
Install dependencies:
npm install # or yarn install -
Start the flights server:
npm run server # or yarn server -
Start the development server:
npm start # or yarn start -
Access the app:
Open your browser and navigate to
http://localhost:5173to start using the app.
- React - A JavaScript library for building user interfaces.
- Material UI Joy - A modern UI component library.
- Jotai - A state management library for React.
- TanStack Query (React Query) - Powerful data-fetching and caching tools for React.
- TanStack Table (React Table) - Headless UI for building tables and grids.
- TanStack Form (React Form) - Utilities for managing forms in React.
- Axios - A promise-based HTTP client for making API requests.











