Tripster is an amazing mobile software for travelers, available on both android and iOS. The main idea of this application is to ease the workflow of recording and sharing your trips with your friends or with people you are only about to meet and for travelers who want to find places which are never mentioned in the city guides. Using the application you can create new “trip”, - a stack of interesting places during your journey gathered together, share your experience along with your route, share your comments and photos so anyone who finds your “trip” (if you share it) can experience everything by themselves. If you are new to app and you dont have someone to follow yet you can simply find the complete “trip” in the city you’ve never been to so you wouldn’t be lost while discovering new interesting places or sightseeing without paying someone to show you the way!
Application consists of 4 main screens, News Feed, Explore, Create Trip and Profile.
-
News Feed - (under development) - shows recent activity of the people we follow
-
Explore - (beta) - explore new places or find people you know using explore screen
-
Create Trip - consists of map and Start Tour button. Clicking on Start Tour buton you are telling the application that your trip has begun and you are ready to share your experience! Now if you are staying on one place for more than 10 min (for development that time is set for 6 sec) you wil be asked to add the place you are at to your trip, after confirming you are able to leave comment, photo and rate this place. Also at anymoment you can press on Stop Tour or Add POI.
- Add POI is a manual mechanism with the same idea as adding POI after some time but whenever you want it to be added, you are promted with the same form having only one difference, you can choose manually one of the nearest POI(provided by the google) or create the new one yourself. You are being asked to leave comment, add photo and rate this place.
- Stop tour, as you can guess, stops tour, at that time application gathers all the added POI's, makes a complete Trip out of it and pushes that right to the database:)
-
Profile - this is the place you can recall your memories browsing your last trips and enjoying it on more time from time to time ;) At the top, you can see some basic user information:
- User name
- Profile Image
- Counter for amount of posts(each post is represented as a single trip)
- Counters showing how many people you are following and how many people you are being followed by
- Short user description
Right under the user profile information header you can see four tabs, short description of each tab:
- User trips represented as a single cover photo, for faster browsing, clicking on one of them opens the trip, showing all the information needed, map with each POI where user stoped, also the route between the POI so you know how to get from one POI to another and photos from this trip (represented as a carousel where at first place there is a map and all other items are photos from the trip)
- User trips represented as a single trips with full description(described above), scrolling down you are navigating to the next trip.
- Here you can see trips you liked and desided to save.
- This tab shows trips which were made with the people you know. Trips there appears only when some one tag you on their trips
- Clone this repo and run
npm i
in the tripster directory - In main folder create two files for Google API key ( google.apikey.js ) and Firebase API key ( firebase.apikey.js ) and export keys from them. Example:
- Firebase:
module.exports = {"firebase_api" : 'firebaseApiKeyGoesHere'}
- Google:
export const GOOGLE_MAPS_APIKEY = 'googleApiKeyGoesHere';
- Firebase:
- Download ngrok, after downloading run it with http 8873 parameteres (example:
./ngrok http 8873
). - You will be shown your tunnel address (Forwarding http://TUNNEL_ADDRESS.ngrok.io -> localhost:8873), now you need to copy TUNNEL_ADDRESS and change it in ./tunnel_address.js.
- Download Expo on your mobile device.
- Run expo in tripster directory
expo start --tunnel
. "--tunnel
" parameter enables tunnel so you dont need to be in the same network to connect your device with your local machine. Known ngrok issue: if your tunnel is falling back too often and your are not able to create tunnel connection try logginig in to expo account using console. Search to find out how to do it. - Run server with
node ./api/server.js
in tripster directory. - Scan the provided QR with your mobile device:
- iOS : Just open camera and point it on QR, wait untill shown notification asking if you want to open the Expo application.
- Android : Scann QR with scann button in Expo application.
- Wait for Expo building and downloading Tripster app.