Giter Site home page Giter Site logo

ifood-mobile-test's Introduction

Tweet sentiment analysis (ifood-mobile-test)

An iOS app that analyse a tweet sentiment.


Screenshots

Requirements

  1. Xcode 9.4.1
  2. Swift 4.1
  3. Cocoapods version 1.5.3

To run

  1. Clone this repository
  2. Run pod install
  3. Enter with keys following the .sec document order
  4. Run project ๐Ÿš€

PS: In case occurs that error: CocoaPods could not find compatible versions for pod "Moya" run pod repo update then run pod install again

Architecture

This App conforms to VIP (Clean Swift Architecture)

Dependencies

All of dependencies and third libraries used in this project as well as its versions can be found in Podfile.

  • Cocoapods-keys A key value store for enviroment and application keys
  • TwitterKit A native SDK to include Twitter content inside mobile apps.
  • Moya Network abstraction layer
  • Lottie An iOS library to natively render After Effects vector animations

TO-DO

  • Add assert tests
  • Add behavior tests
  • Add UI tests
  • Add stage and production enviroments

Use Case

# ifood-mobile-test
Create an app that given an Twitter username it will list user's tweets. When I tap one of the tweets the app will visualy indicate if it's a happy, neutral or sad tweet.

## Business rules
* Happy Tweet: We want a vibrant yellow color on screen with a ๐Ÿ˜ƒ emoji
* Neutral Tweet: We want a grey colour on screen with a ๐Ÿ˜ emoji
* Sad Tweet: We want a blue color on screen with a ๐Ÿ˜” emoji
* For the first release we will only support english language

### Hints
* You may use Twitter's oficial API (https://developer.twitter.com) to fetch user's tweets 
* Google's Natural Language API (https://cloud.google.com/natural-language/) may help you with sentimental analysis.

## Non functional requirements
* As this app will be a worldwide success, it must be prepared to be fault tolerant, responsive and resilient.
* Use whatever language, tools and frameworks you feel comfortable to.
* Briefly elaborate on your solution, architecture details, choice of patterns and frameworks.
* Fork this repository and submit your code.

ifood-mobile-test's People

Contributors

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