Coder Social home page Coder Social logo

gayuru / travo Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 38.37 MB

🌆 Your companion that will not make you feel lost when you go to a new city

License: MIT License

Swift 99.53% Ruby 0.47%
trip travel swift foursquare-api travel-companion iphone-app weather companion-app city alamofire

travo's Introduction


Travo Travo

💛 Your companion that will not make you feel lost when you go to a new city 🌆

Travo

What is Travo?

🤔Travo is your one stop travel companion when you visit a new place and feel lost just open our app and look for popular places nearby along with recommended places by user ratings. Travo utilizes Foursquare API to provide the user with a large collection of places near them alongside providing weather information using OpenWeather about the place they are going to visit.

When to use it

💡When visiting a new city, you will not feel lost as you can use the app to explore new locations in the city and view popular places near you. Or you can press the “Feeling lucky” button which will show a random location which is popular near you.

Getting Started

Starting off with Travo is easy as it can get but surely you do need some credentials to access the foursquare api and don't worry about it as I will guide you through the process.

  1. Download or Clone the Travo repo from above.
  2. After you've downloaded it make sure you open the Travo-App.xcworkspace file as it's incooperated with pods.
  3. Since you are done with the initial process now we have to get a clientID & clientSecret from FourSquare inorder to get access to their api which is being used.
  4. Proceed to create an account with them and then create a new App associated with them in their dashboard which will be then used to generate the keys.
  5. Then you can navigate to Model > RestRequest.swift and find the line 23 & 24 where you have to replace the clientID & clientSecret with your own keys which you generated earlier.
  6. Whoooray 🎉 🎉 now you're done with the setting up part ... Finally run the app on your simulator or your device of your choice and enjoy having Travo as your travel companion.

Built With Swift Foursquare Openweather Alamofire

  • Swift - Swift is a powerful and intuitive programming language for macOS, iOS, watchOS, tvOS and beyond. Writing Swift code is interactive and fun, the syntax is concise yet expressive, and Swift includes modern features developers love.
  • Foursquare API - The Foursquare Places API provides location based experiences with diverse information about venues, users, photos, and check-ins. The API supports real time access to places, Snap-to-Place that assigns users to specific locations, and Geo-tag. Additionally, Foursquare allows developers to build audience segments for analysis and measurement. JSON is the preferred response format.
  • Open Weather API - Simple and fast and free weather API from OpenWeatherMap you have access to current weather data, 5- and 16-day forecasts, UV Index, air pollution and historical data.
  • Alamofire - Alamofire is a Swift-based HTTP networking library for iOS and macOS. It provides an elegant interface on top of Apple’s Foundation networking stack that simplifies a number of common networking tasks.Alamofire provides chainable request/response methods, JSON parameter and response serialization, authentication, and many other features.
  • SwiftyJSON - SwiftyJSON makes it easy to deal with JSON data in Swift.

Authors

License ⚖️

  • Travo is licensed under the MIT License.
Built with ❤︎ by Team iSwift for iPhone Software Engineering module 🔖

travo's People

Contributors

gayuru avatar rmit-s3591154-jun-cheong avatar s3692351 avatar sogyals429 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kalpeshjethva18

travo's Issues

Remove Minimum number of Cells requirement from HomeViewController

Currently the HomeViewController enforces a minimum of 5 cells in both Popular and Recommended carousels.

Change this to simple present the results of the category filter instead of enforcing a minimum count.

OR

Just add more categories to the hardcoded places and it should present them.

Recommended Collection not loading images from ViewModel

Screen Shot 2019-10-15 at 3 16 37 pm

The potential issue is with this section:
cell.placeImage.image = viewModel.getImageURLFor(index: indexPath.row)
instead it should be
cell.placeImage.image = UIImage(named: tempRecommended[indexPath.row].imageURL)

Potential solutions are to fix ViewModel and return relevant category.

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.