Git Product home page Git Product logo

cetorres / buddy Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 4.0 21.18 MB

Buddy is an app that aims to help people passing through difficult situations, like crisis, depression, sadness, lost of a loved one or with suicidal thoughts. It's created in Flutter (iOS and Android) specially for the Flutter Create Contest.

License: MIT License

Java 1.52% C 4.63% Objective-C 85.39% Ruby 2.55% Dart 5.90%
flutter dart flare

buddy's Introduction

Buddy

Buddy is an app that aims to help people passing through difficult situations, like crisis, depression, sadness, loss of a loved one or with suicidal thoughts. It shows daily notifications on the user's phone with helping, inspiring, encouraging, caring quotes and tips to help and make the person feel better. It also shows a list of contacts like phone numbers, websites, emails, of helping lines and institutions, if the user wants to talk with somebody and/or asking for more help.

Getting Started

This project is made entirely with Flutter and as a submission to the Flutter Create contest. It was developed having in mind all the rules and guidelines provided by the contest.

The app is prepared to run on iOS and Android.

To review the code (main.dart), please first use Dart Formatter (dartfmt) to make the code more easily readable. Because in order to keep the code small (under 5kb), I had to strip some unnecessary characters, spaces, indentation, which doesn't affect the code at all, just allows the file to be smaller. And it's permitted under the contest rules.

More Details

This app will show a list of options for the user. Once the user selects one, it shows a dialog asking the user if he confirms starting receiving daily notifications with quotes and tips about the selected topic. The can confirm, close the dialog or cancel all notifications.

When the user confirms to receive daily notifications, the app will schedule the notifications in the system, natively on iOS and Android. The app can be closed then.

For the sake of this project, there's a data.json file in the assets folder that holds the menu options and the quotes showed in the notifications. The app loads this file when it initiates, builds the menu and gets the quotes data. It could have been done reading an online REST API, but I wanted to keep it simple, reading the data locally. On a production version of this app, I would probably use an own backend server to manage the data and send push notifications, instead of local notifications.

Dependencies

Screenshots

Design

The author created all the visual elements of the app:

The animated elements were create using Flare free online tool and integrated into the app with flare_flutter package.

Author

Carlos E. Torres

Senior software engineer, mobile solutions specialist, product manager, entrepreneur, tech startups lover and Spiritist.

buddy's People

Contributors

cetorres avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.