https://github.com/PTBW-Water-My-Plants/front-end
https://pedantic-lichterman-c811ec.netlify.app/
WaterMyPlants will remind users when it's time to feed that foliage and quench your plants' thirst.
Ensuring that all your plants are consistently watered is actually pretty difficult. Water My Plants is an app that helps to solve those problems.
With an easy to use interface for creating a plant watering schedule tailored to each individual plant, WaterMyPlants will remind users when it's time to feed that foliage and quench your plants' thirst.
Web & iOS
usercan sign-up / create an account by providing a uniqueusername, a valid mobilephoneNumberand apassword.usercan login to an authenticated session using the credentials provided at account creation / signup.- Authenticated
usercan Create, Update and Delete aplantobject. At a minimum, eachplantmust have the following properties:id: Integernickname: Stringspecies: Stringh2oFrequency: Type determined by implementationimage: (optional)
- Authenticated
usercan view a list of createdplants. Aplantcan be deleted or selected to presentuserwith a detail view whereusercan then update any property of the selectedplant. - Authenticated
usercan update theirphoneNumberandpassword. - ( iOS only ) User can employ the camera to capture a photo of their plant, collecting image data and pushing it to the API for "create a plant" flow. Still can be optional.
- (iOS only) Set up application to allow local notifications.
- Authenticated
usercan update theirphoneNumberandpassword.
-
Authenticated
usercan set up push notifications to be triggered when anh2oFrequencyof anyplantarrives / has elapsed. -
Implement a feature that allows an authenticated
userto see an appropriate suggestedh2oFrequencybased onspeciesusing the API of your choice. -
Authenticated
usercan uploadimages of aplant. If no userimageis provided, a placeholderimageof a plant of the samespeciespopulates the view.
Install the Heroku CLI
Download and install the Heroku CLI.
If you haven't already, log in to your Heroku account and follow the prompts to create a new SSH public key.
$ heroku login
Create a new Git repository
Initialize a git repository in a new or existing directory
$ cd my-project/ $ git init $ heroku git:remote -a water-the-plants-app
Deploy your application
Commit your code to the repository and deploy it to Heroku using Git.
$ git add . $ git commit -am "make it better" $ git push heroku master
You can now change your main deploy branch from "master" to "main" for both manual and automatic deploys, please follow the instructions here. Existing Git repository
For existing repositories, simply add the heroku remote
$ heroku git:remote -a water-the-plants-app