Coder Social home page Coder Social logo

lottoapp's Introduction

React Native App that fetches both upcoming and previous draws from thelott.com

This App has only been tested on Android, as I do not own a Mac or an iPhone.

I don't see any reason why it wouldn't work on iOS, as I don't believe im using any platform specific code.

Its written in Typescript, and uses Jest for Testing.

@emotion/native styled components are used for component styling.

react-native-image-picker is used for accessing the camera (A 'Profile' image can be added by pressing the + in the top right corner)

Running

Once React Native is set up:

  • Start an Android emulator from Android Studio, or connect an Android phone via usb
  • cd to the root of the project
  • Run yarn to install packages
  • Run yarn start to start metro
  • From another command line window, run yarn react-native run-android

Setup React Native

https://reactnative.dev/docs/environment-setup

On Windows, for Android:

Android Studio Setup

  • In the SDK Manager (Welcome Screen -> Configure -> SDK Manager) Tick 'Show Package' details, and install Android SDK Platform 29 and Google APIs Intel x86 Atom System Image

  • Add ANDROID_HOME to env variables (Settings -> System -> About -> Advanced System Settings -> Environment Variables) 'New' User Variable, Name 'ANDROID_HOME', Value '%LOCALAPPDATA%\Android\Sdk', or wherever the Sdk has been installed.

  • Add platform-tools to path Choose the 'Path' user environment variable, click edit, then add '%LOCALAPPDATA%\Android\Sdk\platform-tools'

Powershell needs to be restarted for changes to apply.

lottoapp's People

Contributors

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