GithubHelp home page GithubHelp logo

meiraleal / luno-react-native Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alwx/luno-react-native

0.0 1.0 0.0 7.58 MB

Cross-platform React Native application written in ClojureScript

License: Eclipse Public License 1.0

Java 1.96% JavaScript 13.66% Objective-C 8.78% Clojure 75.60%

luno-react-native's Introduction

What is Luno?

Luno is a demo mobile application written in ClojureScript. It uses React Native, Reagent, Re-natal and a couple of React Native libraries, for example, awesome React Native Material Design.

It is just proof of concept, and main purpose of Luno is to demonstrate how to create reusable components, use Navigation Drawer, Navigator and NavigatorIOS, how to work with native libraries (it uses Material Dialogs for Android) and how to create apps indistinguishable from native Android or iOS apps.

Luno is not completed, but may be used like a demonstration of how to use react-native in your project.

Screenshots

Android & iOS

API

Luno uses OpenWeatherMap API to load information about weather, and Bing Search API to load images. Both APIs require application IDs, but I don't mind of using my AppIDs (see src/luno/config.cljs for keys)

But these APIs have some limits — for example Bing API allows you to perform 5000 searches per month. In the case you don't see pictures or something works not the way you want it to work, please, obtain your own API keys and try running app again.

How to run

$ npm i
$ lein prod-build

Then run in iOS from xcode or android by react-native run-android

How to develop

Luno is based on re-natal.

  1. Select your preferred android device
$ re-natal use-android-device real|avd|genymotion
  1. Start figwheel
$ re-natal use-figwheel
$ lein figwheel ios|android
  1. Run app from xcode (iOS) or react-native run-android

Please, refer to re-natal documentation for more information.

Future plans

  • Error handling and more responsive UI;
  • Experiments with Toolbar on Android (it is good idea to move Add field to Toolbar);
  • Pull to refresh to update weather;
  • Widgets (?)

Contributors

  • Alexander Pantyukhov (@alwx)
  • Artūr Girenko (@drapanjanas)
  • Alexander Kirillov (@saratovsource)
  • Markku Rontu (@Macroz)

Feel free to send pull request with any additions. And, of course, I am open for any suggestions for code style, architecture or UI.

luno-react-native's People

Contributors

akirill0v avatar alwx avatar drapanjanas avatar macroz avatar

Watchers

 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.