1.1.8 • Published 3 years ago

expo-starter v1.1.8

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

This is a basic expo template. It includes:

  • Expo SDK 47
  • Typescript & Eslint & Prettier
  • Husky & Commitlint & Lint staged
  • Scalable architecture
  • Relative paths with babel-plugin-root-import

Table of contents

šŸ’» Usage

# To use this template, just run:
npx create-expo-app my-app --template expo-starter

šŸ“‚ Architecture

Feel free to change this as You need

my-app
ā”œā”€ā”€ src
│   ā”œā”€ā”€ assets
│   │
│   ā”œā”€ā”€ components
│   │   ā”œā”€ā”€ [Global Component]
│   │   │   ā”œā”€ā”€ index.ts => export component
│   │   │   │
│   │   │   └── styles.ts
│   │   │
│   │   └── index.ts => exports all components
│   │
│   ā”œā”€ā”€ enums
│   │
│   ā”œā”€ā”€ hooks
│   │
│   ā”œā”€ā”€ interfaces => Typescript custom types/interfaces.
│   │
│   ā”œā”€ā”€ models => Entities types/interfaces
│   │
│   ā”œā”€ā”€ navigation => Navigators.
│   │   └── index.ts => export main navigator
│   │
│   ā”œā”€ā”€ providers
│   │
│   ā”œā”€ā”€ screens
│   │   ā”œā”€ā”€ [Screen]
│   │   │   ā”œā”€ā”€ [Local Component]
│   │   │   │   ā”œā”€ā”€ index.ts => export component
│   │   │   │   │
│   │   │   │   └── styles.ts
│   │   │   │
│   │   │   ā”œā”€ā”€ index.ts => export screen
│   │   │   │
│   │   │   └── styles.ts
│   │   │
│   │   └── index.ts => exports all screens
│   │
│   ā”œā”€ā”€ services => Services files configs such as API's and firebase.
│   │
│   └── styles => Styles data such as colors, fonts...
│
ā”œā”€ā”€ .editorconfig
ā”œā”€ā”€ .eslintrc.js
ā”œā”€ā”€ .lintstagedrc.json
ā”œā”€ā”€ .prettirrc
ā”œā”€ā”€ app.config.json
ā”œā”€ā”€ App.tsx
ā”œā”€ā”€ babel.config.ts
ā”œā”€ā”€ commitlint.config.js
└── tscondig.json

šŸ¤ How to contribute

  • Is there any problem? Found a bug? Do you have any tips? Open an issue describing it.

  • Want to contribute code? First read this contribution guide

  • Don't forget to leave your star ⭐, it is also a way to contribute to the project

šŸ“ License

This project is under the MIT license. See LICENSE for more details.


Created by Carlos Mesquita šŸ’œ

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.0

3 years ago