Skip to content
/ t1 Public template

2024 Universal Expo app template with TypeScript, expo-router, eslint, prettier, storybook, jest and examples for a quick start.

Notifications You must be signed in to change notification settings

native-hub/t1

Repository files navigation

T1 - Rick and Morty Template

From https://github.com/t0-app/t1

Install

git clone https://github.com/t0-app/t1 && yarn

Doc - https://rickandmortyapi.com/documentation/#rest

Usage

script description
yarn web for running on browser
yarn ios for running on iOS simulator
yarn android for running on Android simulator
yarn ts:check for checking typescript
yarn lint for checking lint
yarn lint:fix for checking and fix lint
yarn test for testing
yarn test:debug for testing with logs
yarn test:final for running on Android simulator
yarn ci:check group of lint, ts and test (used on precommit)
yarn sb:load when a new component or screen is added it loads to storybook
base-comp:new CompName for creating a new component with name CompName
base-screen:new ScreenName for creating a new screen with name ScreenName

Creating a new branch

git checkout -b Feature/ROC-36 git add . git commit -m "refact: color map" git push

Aditional

Install Prettier - Code format extenstion on VS Code

Docs

https://docs.expo.dev/ https://docs.expo.dev/router/introduction/

Template project (-1)

Folder structure:

  • /app
  • /components
  • /data
  • /config

Packages:

  • expo@49
  • expo-router@2
  • cross plataform
    • ios
    • android
    • web
  • typescript@5
  • metro
  • lint
  • prettier
  • styled-components
  • jest
  • storybook
  • hygen
  • react-query
  • i18n

💡 main branch keeps the chore structure for @t0-app/t1-app, on other branchs we add custom integrations like with-auth, with-firebase, with-tailwind, etc

🤔 We could then rebase branchs from main and update the chore structure

About

2024 Universal Expo app template with TypeScript, expo-router, eslint, prettier, storybook, jest and examples for a quick start.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published