Skip to content

An Android App to help to think positive, every day a new positive thought!

License

Notifications You must be signed in to change notification settings

DanieleBelfiore/TiramiSu

Repository files navigation

TiramiSu!

An Android App to help to think positive, every day a new positive thought!

Think positive, having more control over the flow of our thoughts means investing in the quality of our life. Happiness starts from what happens inside us, not outside.

With this application you will have the opportunity every day to receive a new positive thought from great writers of the past and present to help you live your life to the fullest with culture and smile!

"To be happy you have to train every day" - Alberto Casiraghy

Logo

Get it on Google Play

How To Use This Code

If you want edit this project, you have to clone this repo, then add the google-services.json about the project of your Firebase Console.

In this project I used Firebase Realtime Database to store quotes and if you want to use it, you have to create a json file with a data model like this:

{
	"debug": [
		{
			"version": 1, "lang": "it",
			"contents": [
				{
					"uid": "",
					"author": "",
					"text": ""
				}
            ]
        },
        {
			"version": 1, "lang": "en",
			"contents": [
				{
					"uid": "",
					"author": "",
					"text": ""
				}
            ]
        }
    ],
    "release": [
		{
			"version": 1, "lang": "it",
			"contents": [
				{
					"uid": "",
					"author": "",
					"text": ""
				}
            ]
        },
        {
			"version": 1, "lang": "en",
			"contents": [
				{
					"uid": "",
					"author": "",
					"text": ""
				}
            ]
        }
    ]
}

You can import this json file to insert the contents in the Firebase Realtime Database.

I manage the quotes through a Google Spreadsheet doc, with a sheet for each language and every sheet has three columns (the structure of contents):

  • uid
  • author
  • text

Then I create the json file starting from the doc through this Google App Script that sort alphabetically the doc and create the json file to import in the Firebase Realtime Database.

If you needs more explanations, please contact me.

Clarification

This project is written in the little free time available, it could certainly be better written and structured in a more formal way, but for me it is above all a pastime. Having said that, I am always willing to improve it with the help of anyone who is willing to help and make constructive criticisms.

Versioning

I use SemVer for versioning.

For the versions available, see the tags on this repository.

Contributing

  1. Fork this repository
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

This project is licensed under the MIT License.

About

An Android App to help to think positive, every day a new positive thought!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published