antonyalkmim / ifood-mobile-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twimotion (ifood-mobile-test)

Build Status

An iOS app that analyse a tweet sentiment.


Screenshots

Requirements

  1. Xcode 9.3.*.
  2. Swift 4.1.
  3. Cocoapods version 1.4.0

Getting Started

  1. Clone this repository
  2. Run pod install
  3. Run project πŸŽ‰

Architecture

This app conforms to MVVM (Model-View-ViewModel) patter to help us with unit tests and Coordinators which is responsible for the application's navigation flow.

Dependencies

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

TO-DO

  • Improve UI/UX
  • Add more tests and increase code coverage percentage
  • Add UI tests
  • Add support for more languages
  • Add support for iPad
  • Add A11n for accessibility

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.

License


The MIT License (MIT)

Copyright (c) 2018 Antony Alkmim

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Special thanks for flaticon for the free assets.

About


Languages

Language:Swift 98.6%Language:Ruby 1.4%