This is the Capstone Project of Udacity's Android Developer Nanodegree.
Wise Trip helps you organize your business and personal trips by recording your expenses, budget and the places you want to visit.
- Record travel expenses: Add new expenses with a press of a button, using the app or the home screen widget. Select the currency, the date, the category and add photos to an place.
- Stop overspending: Create different budgets for each currency or category. It automatically converts it to your home country currency.
- Manage your itinerary: Never get lost again! Add places you want to visit for each trip and easily get directions to it.
- Never lost your data again: All your trip data is securely saved in the cloud.
- Create a Firebase project and add a new app with the following package name:
com.henriquenfaria.wisetrip
. - Enable Firebase Authentication with e-mail and Google account sign-in.
- Create a Realtime Database and set the rules in the section below.
- Download your
google-services.json
file and put it inside the app folder. - Go to your Google API console and enable Google Maps and Places API for Android.
- Put the API Key on your user's
gradle.properties
file:google_geo_api_manifest_key=<API_KEY>
. - You are good to go now.
{
"rules": {
"trips": {
"$uid": {
".read": "$uid === auth.uid",
".write": "$uid === auth.uid"
}
},
"attributions": {
"$uid": {
".read": "$uid === auth.uid",
".write": "$uid === auth.uid"
}
},
"expenses": {
"$uid": {
".read": "$uid === auth.uid",
".write": "$uid === auth.uid"
}
},
"budgets": {
"$uid": {
".read": "$uid === auth.uid",
".write": "$uid === auth.uid"
}
},
"places": {
"$uid": {
".read": "$uid === auth.uid",
".write": "$uid === auth.uid"
}
}
}
}
Copyright 2017 Henrique Nunes Faria
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.