Drone Manager Interface is a React-based web application for managing and monitoring drone operations. This project provides a user-friendly interface to track drone statuses, flight hours, battery levels, and maintenance logs.
- User authentication
- Dashboard overview of all drones
- Detailed view of individual drone information
- Responsive design for various screen sizes
Before you begin, ensure you have the following installed:
- Node.js (v14.0.0 or later)
- npm (v6.0.0 or later)
- Git
- Docker (optional, for containerization)
git clone https://github.com/Sonualam-bot/drone-manager-interface.git
- Once you've cloned the repository, install the project dependencies:
npm install
- To start the development server:
npm run dev
- The application will be available at http://localhost:5173. Open this URL in your web browser to view the application.
- If you prefer to use Docker, follow these steps:
- Ensure Docker is installed on your system, then run:
docker build -t react-app:dev .
- This command builds a Docker image named drone-manager-interface based on the Dockerfile in the project root.
- Once the image is built, you can run it as a container:
docker run -p 5173:5173 react-app:dev
- This command starts a container from the drone-manager-interface image and maps port 5173 from the container to port 5173 on your host machine.
- The application will be accessible at http://localhost:5173.
- Open the application in your web browser at http://localhost:5173.
- Log in using the provided credentials (username: admin, password: password123).
- Navigate through the dashboard to view an overview of all drones.
- Click on individual drones for detailed information and maintenance logs.
- Use the responsive design to access the application on various devices and screen sizes.
- Contributions are welcome! If you'd like to contribute:
- Fork the repository
- Create a new branch (git checkout -b feature/AmazingFeature)
- Make your changes
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
-
Please ensure your code adheres to the project's coding standards and includes appropriate tests.
-
This README now provides a comprehensive guide for users to clone, set up, and run your application, both with and without Docker. It includes all the necessary sections in a single markdown file, making it easy to add directly to your GitHub repository.