A travel companion app to make your travel safer through driver feedback and live tracking functionality.
Thank you for considering contributing to RideSafe by ACM-VIT. Hacktoberfest's success is because of developers like you.
Please take a moment to review this section in order to make the contribution process easy and effective for everyone involved.
RideSafe is a Flutter app designed to ensure your safety while riding in a vehicle. Using Firebase, it checks the vehicle's number plate against a dataset, sharing past users' experiences, and giving you peace of mind. If the number plate is not stored in the database, the app tracks your ride and sends an SOS to your emergency contact if you don't reach your destination safely. It also allows you to provide feedback to the driver if you reach your destination safely. Experience a comprehensive solution for ride safety with the RideSafe.
- Check for stored records: checks if the vehicle's number plate is stored in the database
- Ride Tracking: tracks the user's ride if the number plate is not stored in the database
- Collect Driver Feedback: takes feedback from the user regarding the driver
- Sending SOS: Allows users to send an SOS to their emergency contact if the user does not reach their destination safely
Kindly familiarize yourself with Git and GitHub to contribute to the repository effectively. To learn Git and GitHub, you can follow any tutorial /MOOC/ Course/ Documentation of your choice. ACM-VIT has also held a Git and GitHub session before starting the contribution cycle, it is linked below:
https://www.youtube.com/watch?v=E_dwtisWjdI&t=1012s
You may also choose other popular tutorials linked below: https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github?af=5236ad
http://www.firsttimersonly.com/
This application will be developed using Flutter and Firebase. By utilizing this cross-platform development framework, we can take advantage of the large community and libraries available for it. You can learn Flutter by following tutorials, MOOCs, courses, or documentation of your preference. Additionally, ACM-VIT has conducted a Flutter init session, which you can also refer to. The link to the session is provided below:
https://www.youtube.com/watch?v=4oGzfT81fIE
Kindly check the official Flutter documentation at https://docs.flutter.dev/ since it is the most up-to-date resource available.
This guide will help you get started with the contribution process.
- Visit the RideSafe GitHub repository.
- Click on the "Fork" button in the upper right corner to create a copy of the repository in your GitHub account.
- Open your terminal or command prompt.
- Run the following command, replacing
YourUsername
with your GitHub username:git clone https://github.com/YourUsername/RideSafe.git
- Navigate to the cloned repository.
- Add the original repository as an upstream remote:
git remote add upstream https://github.com/EchoLinkOrg/RideSafe.git
- Create a new branch for your changes:
Choose a descriptive branch name that reflects the nature of your changes.
git checkout -b feature-branch-name
- Make the necessary changes to the code using your preferred code editor.
- Stage your changes:
git add .
- Commit the changes:
git commit -m "Your descriptive commit message"
At ACM-VIT, we follow a systematic approach when it comes to committing your work. Please follow the instructions below:
- All Commits which have any new change added to the Codebase must start with the prefix-
feat:
, for example:feat: added new bottom nav bar
- All Commits which have a fix for a previous bug must start with the prefix-
fix:
, for example:fix: fixed the fab animation
- Before pushing changes, ensure your branch is up to date with the upstream:
git fetch upstream git rebase upstream/main
- Push your changes to your forked repository:
git push origin feature-branch-name
- Visit your fork on GitHub.
- Click on the "New Pull Request" button.
- Select the base branch (always create a pull request to the
dev
branch) in the original repository and your feature branch in your fork. - Provide a clear title and description for your pull request.
- Wait for your pull request to be reviewed by project maintainers.
- Address any feedback or changes requested.
- Once approved, project maintainers will merge your changes into the main repository.
- To keep your fork updated with the original repository:
```
git fetch upstream
git rebase upstream/main
git push origin main
```
Congratulations! You've successfully contributed to the RideSafe app. Thank you for being part of our community! If you have any questions or need assistance, feel free to reach out to the maintainers of the project. Happy coding!