Skip to content

Houseplant Palace is an app to document the growth and track the watering schedule of your houseplants.

Notifications You must be signed in to change notification settings

Landmeinz/Houseplant-Palace

Repository files navigation

Houseplant Palace

  • Duration: Solo Project Challenge 2.5 Weeks

Description

A mobile forward web app where plant lovers can track their plant's growth, get watering notifications, and store info and progress photos in a single place.

Project Screenshots

HP All Pages

A Live Preview of Houseplant Palace Hosted on Heroku:

1: Click on the link below and allow 20-30 seconds for app to wake up

2: Sign in as guest_user

  • username: guest_user
  • password: guest_user

3: Poke Around App

  • go ahead an take a look around, make some edits, or add a new plant.
  • if you like the app go ahead and register as a new user and get started today!

Built With

  • HTML
  • JS
  • REACT
  • REDUX
  • SAGA
  • MUI
  • NODE
  • EXPRESS
  • AXIOS
  • SQL

Acknowledgement

Thanks to Prime Digital Academy who equipped and helped me to make this application a reality.

Special shout out to my instructors Dane Smith and Liz Kerber

Installation for Local Machines

Prerequisites

Before you get started, make sure you have the following software installed on your computer:

Create database and table

  1. Create a database named houseplant_palace

  2. Run the queries from database.sql on the houseplant_palace database

  3. The queries in the tables.sql file are set up to create all the necessary tables and populate the needed data to allow the application to run correctly. The project is built on Postgres, so you will need to make sure to have that installed. We recommend using Postico to run those queries as that was used to create the queries,

  4. Open up your editor of choice and run an npm install

  5. Run npm run server in your terminal

  6. Run npm run client in your terminal

  7. The npm run client command will open up a new browser tab for you!

If you would like to name your database something else, you will need to change houseplant_palace to the name of your database name in server/modules/pool.js

Development Setup Instructions

  • Run npm install
  • Create a .env file at the root of the project and paste this line into the file:
    SERVER_SESSION_SECRET=superDuperSecret
    
    While you're in your new .env file, take the time to replace superDuperSecret with some long random string like 25POUbVtx6RKVNWszd9ERB9Bb6 to keep your application secure. Here's a site that can help you: https://passwordsgenerator.net/. If you don't do this step, create a secret with less than eight characters, or leave it as superDuperSecret, you will get a warning.
  • Start postgres if not running already by using brew services start postgresql
  • Run npm run server
  • Run npm run client
  • Navigate to localhost:3000

Directory Structure:

  • src/ contains the React application
  • public/ contains static assets for the client-side like plant images
  • build/ after you build the project, contains the transpiled code from src/ and public/ that will be viewed on the production site
  • server/ contains the Express App

About

Houseplant Palace is an app to document the growth and track the watering schedule of your houseplants.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published