Giter VIP home page Giter VIP logo

lately's Introduction

This is a expo template to get you off the ground quickly.
The main stack is Expo/React Native, React Navigation, Firebase, and typescript

Included:
Expo Managed, React Native w/ Typescript
React Navigation - https://reactnavigation.org/
Firebase - https://firebase.google.com/ - see https://docs.expo.dev/guides/using-firebase/
Zustand - state management - https://github.com/pmndrs/zustand
react-native-async-storage - for local storage - https://react-native-async-storage.github.io/async-storage/docs/install/
react-native-svg - for svg icons - use iconbuddy.app for free icons, copy as svg, and past into https://react-svgr.com/playground/?icon=true&native=true&typescript=true.  Copy the output and paste into the icon file in assets/icons
expo-haptics - for haptic feedback - https://docs.expo.dev/versions/latest/sdk/haptics/
expo-splash-screen - for splash screen - https://docs.expo.dev/versions/latest/sdk/splash-screen/
tanstack-query - fetching data / caching / - https://tanstack.com/query/latest/docs/react/installation
expo-image-picker - for image picking - https://docs.expo.dev/versions/latest/sdk/imagepicker/
expo-image-manipulator - resize/compress images for storage uploading
react-native-reanimated - for animations - https://docs.swmansion.com/react-native-reanimated/docs/installation/
react-native-gesture-handler - for animations/gestures - https://docs.swmansion.com/react-native-gesture-handler/docs/

Organization:
- App.tsx //app entry
- src //source code
  - Navigation //navigation setup, ref, and bottom tabs
  - Screens //all app Screens
  - Stores //zustand stores
  - Theme //theme config and themed components
  - Utils //utility functions and hooks
  - types.ts //global types
- assets //images, fonts, and icons
- firebaseConfig.js //firebase config, replace with your own

Architecture / Logic Flow:
- Show splash screen and load resources
- Check if user is logged in
  - If logged in,
    - Check if db user record exists
      - if it does, set user in store and show main app
      - if it doesn't, show account setup screen 
  - If not logged in, show welcome screen
- After loading and user check, hide splash screen

SETUP:
- Clone repo
- Run npm install or yarn install
- Edit the app.json file to change the name, slug, and icon
- Edit the firebaseConfig.js file to add your firebase config. Go to https://firebase.google.com/ and create a new project.  Then go to the project settings and copy the config object into the firebaseConfig.js file. 
- Run "npx expo start"

lately's People

Contributors

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