Link : https://pick-a-plant.herokuapp.com/
A portal for plant business owners to come together and sell their items. We will offer a wide variety of plants, trees, vegetable plants, along with a selection of garden supplies. Most of the plants we sell will be grown in our greenhouses. With a convenient location Rose Petal Nursery intends to successfully market to the residential customer, as well as contractors and renters.
This is a prototype for a ecommerce website to sell potted plants. Current version is to allow user to submit a new listing and do editing. Future version will allow user creation and other functions
As a user,
- they will be able to post their items for sale on the website
- they will be able to make changes to their listing
- they will be able to remove the listing
- they will be able to sell their items on the website
- they will be able to build a community
- they will be able to register and create their own profile (future development)
As a browser,
- they will be able to browse and make purchase for the plant they chosen (future development)
- they will be able to message the seller (future development)
- they will be able to order and enter delivery details (future development)
As a host of the website
- we will build the community for sellers and buyers to transact
- we will generate revenue from transactions
- we will generate revenue from advertisers who will list on our webste
A live demo can be found here : https://pick-a-plant.herokuapp.com
1. HTML
2. CSS
3. Bootstrap (3.3.7)
4. MongoDB
5. Python 3
6. Flask
7. Jinja
My Design of the site :
* Design for plants ecommerce, so design focus on plants and hence color used are green-based
* Easy for user to browse, add, update and remove
Limitations:
* no search function implement yet (future development)
* search function not implement due to time limitation
* Buy function not set up for this website
* Social media links not link not set up
Manual Testing is done to ensure that the all functions are functional. Test Results as follows :
No | Steps | Expected Results | Observations |
---|---|---|---|
1 | On the Navbar, click "Home" link on Navbar |
Return to landing page |
Pass |
3 | On the Navbar, click "Contact Us" on Navbar |
Bring the page to Footer to show contact details |
Pass |
3a | On the Navbar, click on the "Add new plant' |
Link to the submission of new inventory page and show entry form |
Pass |
3b | Enter the details in form and submit |
add the inventory to database and return to display all plant listing page |
Pass |
4a | On individual Plant, click "Make changes" link beside name of plant |
Show form with details of selected plant and allow user to enter new info or upload new image |
Pass |
4b | Click "Make Changes" to save the changes |
save the changes to database and return to index page |
Pass |
5a | On individual Plant, click "x" link on top right of image |
Render page to check with user to confirm removal of selected listing |
Pass |
5b | Click "Delete |
delete selected listing from database and return to index page |
Pass |
6 | In Index page, Enter in search input and click submit |
Search for plants containing the word and display list |
Pass |
This site is hosted using Heroku App Link : https://pick-a-plant.herokuapp.com/
Regular commits are made to Github. Below are the commands to initalise and make regular commits, enter the commands in bash terminal in AWS
- git init .
- git add .
- git commit -m "Commit Message"
- git remote add origin https://github.com/tattoochan/project2.git
- git push -u origin master
Deploy Heroku:
- Install Heroku using bash
- Login to Heroku
- Install gunicorn
- Create Procfile and requirements.txt
- Commit and push to Heroku
- Set up the Environment Vasriables
- Update Dependencies
Uses W3School for many reference (https://www.w3schools.com/)
Uses fontawesome for the social media icons (https://fontawesome.com/)
Uses Bootstrap for templates (https://getbootstrap.com/)
Media was extracted from :
https://www.pexels.com/
https://www.pngguru.com/