Skip to content

do-ko/BloomBoxApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

171 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

BloomBox is a mobile application Android devices that provides support for plant caring. It will create reminders for user to let them know when is the right time to water their plants. Users will be able to access their garden page, where all their plants are stored. By navigating to the selected plant page, the user will access the diary section, where they can browse their plant notes and write new entries to monitor their plant growth. Users can also create locations with common settings that will make plant creation a quicker process, while still giving users the option to specify custom settings if needed.

Environmental Variables

Frontend

To enable comunication between frontend and backend, in /BloomBoxApp/src/config.js replace existing BASE_URL with your own.

Example of configuration:

 BASE_URL = "http://{host}:{port}/api";

By default host is your localhost address. To change it add server.address in application.properties file located in /bloombox/src/main/resources.

 server.address = x.x.x.x

Backend

To connect to the database, create another .env file in /bloombox/src/main/resources following .env.example variable format and input variables.

Example of .env file:

DATABASE_URL="jdbc:postgresql://{host}:{port}/{database_name}"
DATABASE_LOGIN="postgres"
DATABASE_PASSWORD="password"

How to run

Frontend

to start frontend application navigate to BloomBoxApp directory and run following command:

npm start

Backend

to start backend navigate to bloombox directory and run following command:

./mvnw spring-boot:run

to run tests on backend:

./mvnw test

Database

Before running the application, create tables using provided script in /Database/SQL_DDL.sql in your database.

Mockup designs

Welcome screen Garden screen Locations screen Add and edit plant screen Plant screen2 Diary screen

About

An android application for plant caring

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors