Code Monkey home page Code Monkey logo

appjs24-workflows-workshop-code's Introduction

App.js 2024: "Accelerating Development and Distribution Workflows with Expo" starter project

Starting code and solutions for the workshop.

Prerequisites

  • A local development environment ready for native iOS and Android React Native / Expo development, capable of running the npx expo run:ios and npx expo run:android, including recent versions of:
    • Xcode (version 15+)
    • Watchman
    • Cocoapods
    • JDK 17
    • Android Studio
    • iOS simulator
    • Android emulator
    • Fastlane - a small part of the workshop will use EAS local builds, though it if you cannot get this working, it will not prevent you from doing the rest of the workshop.
    • If you're not sure if you have all of these or if you have the right versions, check the Expo Local App Development requirements for details on how to install these tools in order to enable local native development with the Expo CLI.
  • Other general development tools:
    • Node 18.
    • Visual Studio Code
    • Git (Github Desktop works great)
  • Hardware:
    • A Mac is highly recommended for the full experience (though all exercises have an Android-only track, so it's possible to do most of the exercises without a Mac).
  • Online accounts:

Test your setup before the workshop

Do these steps to ensure you'll be able to complete the workshop exercises.

  1. Fork and clone this repo.

  2. Restore dependencies with

npm install
  1. Build and run the app on your iOS simulator:
npx expo run:ios
  1. Build and run the app on your Android emulator:
npx expo run:android

If these steps don't work, refer to the Expo Local Development guide.

If you get a mysterious CSS/Tailwind error, refer to this workaround and it shouldn't bother you again.

Want to run on a device? We will be focusing on emulator/simulator usage during the workshop, as it's especially easier for iOS. If you want to do some or all of the workshop on a device, you can also test with npx expo run:ios --device and/or npx expo run:android --device. Some later sections of the workshop may not work on an iOS device without additional configuration.

About the demo app

The app is a concept for a guide for an art museum, where you can virtually tour the available exhibits and "favorite" the exhibits you would like to see in person.

The works of art themselves are pulled from the Cleveland Museum of Art Open Access API, retrieved using TanStack query. You could use the API directly, but for reliability's sake, it's pulling the data from local files, though the images themselves are still pulled from the museum's CDN.

The demo is based off the Expo Router tabs starter (npx create-expo-app --template tabs), and also includes Nativewind v4 for most of the styling.

Talk to the presenters

appjs24-workflows-workshop-code's People

Contributors

keith-kurak avatar tchayen avatar gokaytitrek 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.