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.
- After cloned, cd into backend, then bundle install gem dependencies.
- To start the database, sudo service postgresql start.
- To setup & seed the database, use the command rails db:reset.
- To start the backend rails s -p 3000 (or if in vagrant rails s -b 0.0.0.0 -p 3000).
- Cd into client file & npm install dependencies.
- Get api key from https://openweathermap.org
- Make a .env file from the .env.example and insert your own key in appropriate place.
- Use either yarn start or npm start to run on server. It will be running on localhost:3006.
- The app is meant to be displayed on primarily on mobile, so it looks better using dev tools tablet mode.
- You can create an account and play around or login with
- email: andy@labber.ca and password: labber
- email: ray@labber.ca and password: labber
- email: sheldon@labber.ca and password: labber
- email: felix@labber.ca and password: labber
- Have fun!