This is the frontend for the RoldoCHAT application, built with React. It provides the user interface for calculating optimal routes within a time restriction and ensuring return to a starting point.
The frontend provides an intuitive user interface. It integrates with the backend to fetch and display the route details using Google Maps.
- React: JavaScript library for building user interfaces.
- Axios: HTTP client for making requests to the backend.
- Tailwind CSS: Utility-first CSS framework for rapid UI development.
- Google Maps JavaScript API: For map visualization and interaction.
- Material-UI: React component library for UI design.
- Node.js 14+
-
Clone the repository:
git clone https://github.com/RoldoUAB/front.git cd front -
Install the dependencies:
npm install
-
Set up environment variables:
cp .env.example .env # Edit .env file to add your Google Maps API key and backend API URL -
Run the application:
npm start
A significant challenge was selecting the right technologies and libraries to build a responsive and efficient user interface that integrates seamlessly with the backend and Google Maps APIs. We needed to ensure the app is intuitive and performs well even with complex route calculations.
- Enhanced Map Interactivity: Add more interactive features to the map, such as draggable routes and live traffic updates.
- Performance Optimization: Implement performance optimizations to handle larger datasets and more complex routes.