SAFE-FLIGHT is an application designed to ensure the safety and efficiency of flight operations. It consists of both client and server components, each responsible for specific aspects of the application.
- 📁 Project Structure
- ✨ Features
- ⚙️ Installation
- 🚀 Usage
- 🌐 Deployment
- 💻 Technologies Used
- 🤝 Contributing
- 📜 License
- 📚 Additional Resources
The repository is divided into two main components:
- Client: This contains the frontend code for the application.
- Server: This contains the backend code for the application.
The client side is built using modern web technologies. The main folders and files include:
- public: Static assets.
- src: React components and application logic.
- package.json: Dependency management.
The server side is implemented using Java, and it includes the following:
- .mvn: Maven wrapper files.
- src: Java source code and resources.
- pom.xml: Maven configuration file.
- Real-time flight tracking: Monitor flights in real-time.
- Safety notifications: Receive alerts and notifications for any safety concerns.
- User-friendly interface: Easy-to-use web interface for tracking and management.
- Node.js and npm (for the client)
- Java 8 or higher and Maven (for the server)
- PostgreSQL (for the database)
- Docker (optional, for containerized deployment)
- Navigate to the
Client
directory:cd Client
- Install the dependencies:
npm install
- Start the client application:
npm start
- Navigate to the
Server
directory:cd Server
- Build the server application using Maven:
mvn clean install
- Run the server application:
java -jar target/your-server-application.jar
- Start the server application as described above.
- Start the client application.
- Open your web browser and navigate to
http://localhost:3000
to access the SAFE-FLIGHT application.
- Frontend: Deployed on Netlify at safe-flight.netlify.app
- Backend: Deployed on Koyeb
- Ensure Docker is installed on your machine.
- Navigate to the
Server
directory:cd Server
- Build the Docker image for the server:
docker build -t safe-flight-server .
- Run the Docker container for the server:
docker run -d -p 8080:8080 safe-flight-server
- Navigate to the
Client
directory:cd Client
- Build the Docker image for the client:
docker build -t safe-flight-client .
- Run the Docker container for the client:
docker run -d -p 3000:3000 safe-flight-client
- Deploy the server application to Koyeb or your preferred Java hosting service.
- Deploy the client application to Netlify or your preferred static site hosting service.
For continuous deployment, you can set up CI/CD pipelines using GitHub Actions, Jenkins, or other CI/CD tools to automate the deployment process whenever new changes are pushed to the repository.
- React
- CSS
- Materializecss
- Java
- Spring Boot
- Maven
- PostgreSQL
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a pull request.
Distributed under the MIT License. See LICENSE
for more information.
For more information and assets related to the project, please visit the following link: https://github.com/tal6203/REACT-SAFE-FLIGHT/assets/112417918/bf858da0-d7fe-4cb6-851e-c007377d222b