An Open Source App which fills the gap between the patients and the Plasma Donors. This is a Beginner Friendly Repository made for Open Source Enthusiasts who can contribute to the App during HacktoberFest 2020.
- Features
- Tech Used
- Requirements
- Slack Channel
- Getting Started
- 1. Register yourself to Hacktoberfest 2020
- 2. Get Started to start contributing
- 3. Star and Fork this Repository
- 4. Clone the Repository
- 5. Download Android Studio
- 6. Open the Project
- 7. Create New Branch
- 8. Commit and Push
- 9. Update Local Repository
- 10. Configure a Remote for the Fork
- 11. Sync the Fork
- 12. Create Pull Request
- Check your Hacktoberfest Contribution status
- Connect with us
- User can add Donors.
- User can Add Patients.
- User can search specifically for Donors.
- User can search specifically for Patients.
- User can add Edit Profile.
- User can see nearby donors/patients in Radar.
- FAQs section to get all details regarding Plasma.
- Android
- Kotlin
- Firebase
- Figma
- Android Version 5.0 and Above.
- Min sdk 21
Link to register: https://hacktoberfest.digitalocean.com/
GitHub repository URLs will reference both the username associated with the owner of the repository, as well as the repository name. For example, DSC-JSS-NOIDA is the owner of this repository, so the GitHub URL for this project is:
https://github.com/DSC-JSS-NOIDA/Plasma-Donor-App
When you’re on the main page for the repository, you’ll see a button to "Star" and “Fork” the repository on your upper right-hand side of the page, underneath your user icon.
To make your local copy of the repository you would like to contribute to, let’s first open up a terminal window.
This URL will be similar to the URL above, except now it will end with .git. In the example above, the URL will look like this:
https://github.com/your-username/Plasma-Donor-App.git
You can alternatively copy the URL by using the green “Clone or download” button from your repository page that you just forked from the original repository page. Once you click the button, you’ll be able to copy the URL by clicking the binder button next to the URL:
Once we have the URL, we’re ready to clone the repository. To do this, we’ll combine the git clone command with the repository URL from the command line in a terminal window:
git clone https://github.com/your-username/Plasma-Donor-App.git
Link to Developers page: https://developer.android.com/studio
Once the project is opened create a new branch and checkout in it where you can make the changes in the code.
git branch new-branch
git checkout new-branch
Click on Git branch in the bottom-right corner in Android Studio and create a new branch from there and checkout to it.
git add .
or git add -A
git commit -m <Your-commit-message>
git push --set-upstream origin new-branch
While working on a project alongside other contributors, you need to keep your local repository up-to-date with the project as you don’t want to make a pull request for code that will cause conflicts. To keep your local copy of the codebase updated, you’ll need to sync changes.
You’ll have to specify a new remote upstream repository for us to sync with the fork. This will be the original repository that you forked from. you’ll have to do this with the git remote add command.
git remote add upstream https://github.com/DSC-JSS-NOIDA/Plasma-Donor-App
In this example, // upstream // is the short name we have supplied for the remote repository since in terms of Git, “upstream” refers to the repository that you cloned from. If you want to add a remote pointer to the repository of a collaborator, you may want to provide that collaborator’s username or a shortened nickname for the short name.
Once you have configured a remote that references the upstream and original repository on GitHub, you are ready to sync your fork of the repository to keep it up-to-date.
To sync your fork, from the directory of your local repository in a terminal window, you’ll have to use the // git fetch // command to fetch the branches along with their respective commits from the upstream repository. Since you used the shortname “upstream” to refer to the upstream repository, you’ll have to pass that to the command:
git fetch upstream
git checkout master
Now merge any changes that were made in the original repository’s master branch, that you will access through your local upstream/master branch, with your local master branch:
git merge upstream/master
Now navigate to your forked repository, and press the “New pull request” button on your left-hand side of the page.
https://hacktoberfest.digitalocean.com/profile
Need help? Feel free to contact us @ dscjssnoida@gmail.com
Our heartiest thanks to these contributors ✨✨: