Giter Site home page Giter Site logo

mitwit's Introduction

mitwit

Kotlin multiplatfom twiter-lite app (very lite, though). Uses MVP/Clean to share as much codebase as possible between Android, iOS and Server. (Need a bit of help for iOS UI part)

Tech used: Ktor for networking and server, Coroutines for async, Anko for dialogs, Kotlin 1.3 for language goodies(inline classes).

How to use

Open in Android Studio or (prefferably) InteliJ IDEA. Import project from gradle if IDE doesn't do it automatically. Check "Delegate IDE build/run action to gradle" box in Settings/Build, Execution, Deployment/Build Tools/Gradle/Runner. Create local.properties file with sdk.dir property set. You should be able to build app from there. Binaries will be available in the releases section.

You can run server with gradle task :app:runServer. You'll need to configure Android application to target server's IP address in Login activity by clicking on settings icon. If registering bothers you, you can use test account - username:test, password:a. Persistance is not implemented at the moment, so restarting the server will lose registered users and their posts, while (fully) restarting app will lose the login token.

TODO

  • iOS UI
  • Persistance
  • Caching
  • Better DI

mitwit's People

Contributors

marco89nish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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