Skip to content

notayogilee/green-thumb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

This is a final project for Lighthouse Labs created by Lee Castelani & Ahmed (Hatem) Attia. It is a gardening app, where a user can view gardening instructions for a list of specific plants. A registered user can create a garden, add or removed plants from that garden, and delete the garden. There is the current weather available specific to the location of each garden.

Setup backend

  1. After cloned, cd into backend, then bundle install gem dependencies.
  2. To start the database, sudo service postgresql start.
  3. To setup & seed the database, use the command rails db:reset.
  4. To start the backend rails s -p 3000 (or if in vagrant rails s -b 0.0.0.0 -p 3000).

Setup frontend

  1. Cd into client file & npm install dependencies.
  2. Get api key from https://openweathermap.org
  3. Make a .env file from the .env.example and insert your own key in appropriate place.
  4. Use either yarn start or npm start to run on server. It will be running on localhost:3006.
  5. The app is meant to be displayed on primarily on mobile, so it looks better using dev tools tablet mode.
  6. You can create an account and play around or login with
  7. Have fun!

About

A gardening app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published