Skip to content

SuzSch/team-plant-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plant Professor

Plant Professor is a web application that provides information about plants. Users can search for plants by their common, growth conditions, or find nurseries near them based on their city and zipcode.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Webpack
  • Babel
  • Fetch API
  • ExchangeRate-API

Table of Contents

Project Overview

Plant Professor is a web application built using HTML, CSS, and JavaScript. It consists of the following pages:

  • `index.html`: The landing page of the application that provides an overview of Plant Professor and options to search for plants by name, growth conditions, or find nurseries near the user.
  • `name.html`: Allows users to search for plants by their common or Latin names.
  • `criteria.html`: Enables users to search for plants based on specific growth conditions such as sunlight requirements, watering needs, and plant life cycle.
  • `zipcode.html`: Allows users to search for nurseries near them by providing their city and zipcode.

Technologies Used:

  • HTML
  • CSS
  • JavaScript
  • Webpack
  • Babel
  • Fetch API
  • Bing Maps API
  • Perenual API

Installation

  1. Clone the repository:
$ git clone https://github.com/nataliebenjes/team-plant-api/tree/main
$ cd team-plant-api
  1. Install the dependencies
$ npm install
  1. Create a .env file in the root of your project and add your API keys: 'API_KEY' for Perenual 'BING_KEY' for Bing Maps The format should be like this:
API_KEY=your_api_key_number
BING_KEY=your_api_key_number
  1. Run the application
$ npm start

Usage

The Plant Professor web application provides a user-friendly interface to search for plant information. Here's a brief description of each page's functionality:

  • `index.html`: The landing page that welcomes users and provides an overview of the application. Users can choose to search for plants by name or growth conditions or find nurseries near them.
  • `name.html`: Allows users to search for plants by entering either the common name or Latin name of the plant.
  • `criteria.html`: Enables users to search for plants based on specific growth conditions such as the amount of sunlight, watering needs, and plant life cycle.
  • `zipcode.html`: Allows users to find nurseries near them by entering their city and zipcode.

Simply click on the relevant link or button on the respective page to perform the desired search.

Features

  • Search plants by name: Users can search for plants by their common or Latin names using the `name.html` page.
  • Search plants by growth conditions: Users can find plants based on specific growth conditions, such as sunlight requirements, watering needs, and plant life cycle, using the `criteria.html` page.
  • Find nurseries near you: Users can search for nurseries near them by providing their city and zipcode on the `zipcode.html` page.

Contributors

The following individuals have contributed to the development of this project:

License

MIT License

Copyright (c) 2023 Elshadai "Elle" Hailu, Natalie Benjes, Suzanne Schuber, Moshe Atia Poston, Jason Church, Michael Carroll.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

JavaScript Team Week Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.8%
  • HTML 23.8%
  • CSS 17.4%