GithubHelp home page GithubHelp logo

roelofjan-elsinga / happy-plants Goto Github PK

View Code? Open in Web Editor NEW

This project forked from morkro/happy-plants

0.0 2.0 0.0 16.78 MB

๐ŸŒต Web application to manage plants

Home Page: https://happyplants.garden

License: MIT License

JavaScript 37.21% HTML 1.09% Vue 59.39% CSS 2.30%

happy-plants's Introduction

HappyPlants ๐ŸŒต๐ŸŒฑ

Current version: 1.5.1 (Changelog)

Maintenance PRs Welcome


HappyPlants App

HappyPlants is all about organising and adding all kinds of information of your little friends. How much water does it need? During which seasons does it grow? When is it dormant? Does it require lots of sun? Basically, creating your own plant database in a visual way. You can either save HappyPlants to your homescreens on mobile devices (recommended) or add it to your bookmarks on desktop.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior.


About

If your hobby is collecting (and growing) plants, you maybe also like to gather all the information about them and keep an organised overview about your little home garden.

HappyPlants is a mobile-first, progressive web application which helps organising and keeping track of your plants.

Features

This project is currently still in alpha development and only supports a bare minimum set of features.

Planned

Feature Status
Firebase integration โœ… Implemented
Better onboarding โœ… Implemented
Skeleton views โœ… Implemented
Growth progress gallery Not started
Desktop layout Not started

Overview page

Feature Description
View mode Choose between grid and list view.
Order by The overview can be sorted by date (latest first) and alphabetical.
Filter Filter view by tags.

Add plant

Feature Description
Name and photo Add a name and upload an additional, optional photo of the plant.

Plant profile

Feature Description
Edit basic data Edit your plants name or photo.
Add tags /
Manage modules Add/remove plant modules
Watering module Manage the required watering of a plant.
Sunshine module Manage the amount of sunlight the plant needs.
Seasons module Lets you define the seasons in which a plant is in growth/ dormant.
Notes Add notes to a plant.
Delete plant Deletes your plant.

Settings

Feature Description
Tags Delete or rename tags.
Import/export Import or export plant data.
Delete all Delete all plant data. This is permanent and lost data can't be restored.

Data structure

In the application settings, you can download and import your plant data.

Basic plant data

This is the minimum required data of a single plant. If you want to import the data, it should be an Array of objects.

{
  "guid": String, // [required] A random, version 4 GUID
  "created": Date, // [required] Date when the plant has been created
  "modified": Date, // [required] Date when plant has been modified, defaults to created date
  "name": String, // [required] Name of the plant
  "blob": Blob | Base64 | undefined, // [optional] A base64 encoded or Blob of the plant photo
  "modules": Array<PlantModule> // [optional] Array of plant modules, should default to []
}

Tag data

A plant can be assigned to various, user created, tags. A tag object should be defined as follows:

{
  "guid": String, // [required] A random, version 4 GUID
  "created": Date, // [required] Date when the plant has been created
  "modified": Date, // [required] Date when plant has been modified, defaults to created date
  "name": String, // [required] Identifier name of the tag
  "label": String, [required]
  "plants": Array<guid> // [required] A list of plants associated with the tag
}

Plant Modules

Modules have all the same structure with a module-specific value definition.

Watering module

{
  "type": "watering",
  "value": {
    "amount": 1ย |ย 2 | 3,
    "frequency": String
  }
}

Sunshine module

{
  "type": "sunshine",
  "value": {
    "insensity": 1 | 2 | 3
  }
}

Seasons module

{
  "type": "seasons",
  "value": {
    "seasons": [
      {
        "month": "January",
        "growth": Boolean
      },
      ...
    ]
  }
}

Notes module

{
  "type": "notes",
  "value": {
    "notes": String
  }
}

Development

Command Description
npm install Installs dependencies
npm run serve Serve with hot reload at localhost:8080
npm run build Build for production with minification
npm run build --report Build for production and view the bundle analyzer report
npm run unit Run unit tests
npm test Run all tests
npm lint Runs Standard over all .js and .vue files

This is an Vue.js progressive web application, developed with @vue/cli.

JavaScript Style Guide

Credits

Logo

The logo is a combination of existing illustrations by Vitaly Gorbachev and Freepik.

Icons

Icons taken from Freepik and Dimitry Miroliubov.

License

MIT

happy-plants's People

Contributors

morkro avatar roelofjan-elsinga avatar kittygiraudel avatar falkendk avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.