1.1.8 ā¢ Published 1 year ago
expo-starter v1.1.8
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 š