Giter Site home page Giter Site logo

pocket-trace's Introduction

Mobile Traces

This project was initialized with kao-expo-typescript-boilerplate which includes:

  • prettier - Code Formatter that configured by .prettierrc file
  • eslint - linter integrated with prettier config
  • vscode shareable settings file - .vscode/settings.json
  • jest & jest-expo configurations for typescript
  • husky - Git Hooks with jest test as pre-commit hook and git-cz for preparing commit message
  • dontenv & expo-constants for environment variable usage
  • example file of .env
  • react navigation libraries: @react-navigation/native and @react-navigation/native-stack

Available Scripts

In the project directory, run:

yarn start

Runs expo start command. For emulator, run with --ios or --android

yarn test

Runs jest test, use command yarn test:update or yarn test --update to update snapshot, yarn test has been set as one of git hook command pre-commit

yarn prepare

Runs husky install command to install new / updated Git Hooks in folder .husky/*

yarn lint

Runs linter checking, yarn lint --fix has been set as one of git hook command pre-commit

Folder Structures

├── src                         # src folder
    ├── @types                  # definitions type folder
        ├── navigations         # navigations definitions type folder
            ├── root.d.ts       # every navigations should have a StackParamList & StacProps type
    ├── app                     # app folder / index folder
        ├── App.tsx             # whole app root
        ├── index.ts            # main file / App.tsx expo register
    ├── assets                  # assets folder
    ├── components              # global components folder
        ├── __tests__           # global components tests folder
    ├── contexts                # global contexts folder
    ├── hooks                   # global hooks folder
    ├── navigations             # navigations folder
        ├── root.ts             # navigations root file
    ├── screens                 # screens folder
        ├── __tests__           # screens tests folder
        ├── HomeScreen          # example of a screen folder
    ├── services                # services top folder
        ├── apis                # service api folder
        ├── constants           # services constants folder
            ├── extra.ts        # services constants from extra in app.config.ts
            ├── screen.ts       # services constants of all screen names
        ├── utils               # services utils folder
            ├── __tests__       # services utils tests folder
    ├── styles                  # global styles folder

pocket-trace's People

Contributors

kaotypr avatar

Stargazers

 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.