Coder Social home page Coder Social logo

ilyasbo / react-native-template-obytes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from obytes/react-native-template-obytes

0.0 0.0 0.0 3.97 MB

๐Ÿ“ฑ A template for your next React Native project ๐Ÿš€, Made with developer experience and performance first: Expo,TypeScript,TailwindCSS, Husky, Lint-Staged, react-navigation, react-query, react-hook-form.

License: MIT License

Shell 1.45% JavaScript 10.12% Ruby 1.50% C++ 6.43% Objective-C 0.36% Java 16.03% TypeScript 54.78% Objective-C++ 6.06% Swift 0.10% Makefile 1.39% Starlark 1.78%

react-native-template-obytes's Introduction

React Native Template Obytes

React Native Template Obytes

๐Ÿ“ฑ A template for your next React Native project ๐Ÿš€, Made with developer experience and performance first: Expo,TypeScript,tailwindcss, Husky, Lint-Staged, react-navigation, react-query, react-hook-form, I18n.

๐Ÿš€ Use the template to start your next project or navigate to code source to get some inspiration ๐Ÿ˜‰

โญ Features

  • โœ… Last Expo SDK + Costume Dev client
  • ๐ŸŽ‰ Type checking TypeScript
  • ๐Ÿ’… Minimal UI kit using tailwindcss with theming.
  • โš™๏ธ Support multiple environnement builds [Production, Staging, Development] using Expo configuration.
  • ๐ŸฆŠ Husky for Git Hooks
  • ๐Ÿ’ก Clean project structure with Absolute Imports
  • ๐Ÿšซ Lint-staged for running linters + typescript checking on Git staged files
  • ๐Ÿ—‚ VSCode recommended extensions configuration, settings and snippets for a better developer experience
  • โ˜‚๏ธ React Navigation pre-installed with examples
  • ๐Ÿ’ซ Auth flow with zustand and react-native-mmkv as a storage to save sensitive data.
  • ๐Ÿ›  A simple workflow to build, release and distribute your application using Github action
  • ๐Ÿ”ฅ React Query & axios to fetch Data
  • ๐Ÿงต A good approach with example to handle forms based on react-hook-form and yup for validation
  • ๐ŸŽฏ Localization with i18next + validation using Eslint.

๐ŸŽค Philosophy

  • ๐Ÿš€ Production-ready
  • ๐Ÿฅท Developer experience + Productivity
  • ๐Ÿงฉ Minimal code and dependencies
  • โš ๏ธ well maintained third-party libraries

๐Ÿ”— Requirements

๐Ÿค– Getting started

Start your project by running the following command:

npx create-obytes-app MyApp

Run the app

yarn ios

yarn android

Project structure

src
โ”œโ”€โ”€ api
โ”‚ย ย  โ”œโ”€โ”€ common
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ api-provider.tsx
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ client.tsx
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ index.tsx
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ utils.tsx
โ”‚ย ย  โ”œโ”€โ”€ index.tsx
โ”‚ย ย  โ”œโ”€โ”€ posts
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ index.tsx
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ use-posts.ts
โ”‚ย ย  โ””โ”€โ”€ types.ts
โ”œโ”€โ”€ core
โ”‚ย ย  โ”œโ”€โ”€ auth
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ index.tsx
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ utils.tsx
โ”‚ย ย  โ”œโ”€โ”€ i18n
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ index.tsx
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ react-i18next.d.ts
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ resources.ts
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ types.ts
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ utils.tsx
โ”‚ย ย  โ”œโ”€โ”€ index.tsx
โ”‚ย ย  โ””โ”€โ”€ utils.ts
โ”œโ”€โ”€ index.tsx
โ”œโ”€โ”€ navigation
โ”‚ย ย  โ”œโ”€โ”€ auth-navigator.tsx
โ”‚ย ย  โ”œโ”€โ”€ index.tsx
โ”‚ย ย  โ”œโ”€โ”€ navigation-container.tsx
โ”‚ย ย  โ”œโ”€โ”€ root-navigator.tsx
โ”‚ย ย  โ”œโ”€โ”€ tab-navigator.tsx
โ”‚ย ย  โ”œโ”€โ”€ types.tsx
โ”‚ย ย  โ””โ”€โ”€ utils.tsx
โ”œโ”€โ”€ screens
โ”‚ย ย  โ”œโ”€โ”€ feed
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ card.tsx
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ index.tsx
โ”‚ย ย  โ”œโ”€โ”€ index.tsx
โ”‚ย ย  โ”œโ”€โ”€ login
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ index.tsx
โ”‚ย ย  โ”œโ”€โ”€ settings
โ”‚ย ย  โ””โ”€โ”€ style
โ”œโ”€โ”€ translations
โ”‚ย ย  โ”œโ”€โ”€ ar.json
โ”‚ย ย  โ””โ”€โ”€ en.json
โ”œโ”€โ”€ types
โ”‚ย ย  โ””โ”€โ”€ index.ts
โ””โ”€โ”€ ui
    โ”œโ”€โ”€ core
    โ”‚ย ย  โ”œโ”€โ”€ activity-indicator.tsx
    โ”‚ย ย  โ”œโ”€โ”€ bottom-sheet
    โ”‚ย ย  โ”œโ”€โ”€ button.tsx
    โ”‚ย ย  โ”œโ”€โ”€ image.tsx
    โ”‚ย ย  โ”œโ”€โ”€ index.tsx
    โ”‚ย ย  โ”œโ”€โ”€ input
    โ”‚ย ย  โ”œโ”€โ”€ list
    โ”‚ย ย  โ”œโ”€โ”€ pressable.tsx
    โ”‚ย ย  โ”œโ”€โ”€ scroll-view.tsx
    โ”‚ย ย  โ”œโ”€โ”€ select-input
    โ”‚ย ย  โ”œโ”€โ”€ text.tsx
    โ”‚ย ย  โ”œโ”€โ”€ touchable-opacity.tsx
    โ”‚ย ย  โ””โ”€โ”€ view.tsx
    โ”œโ”€โ”€ error-handler
    โ”‚ย ย  โ”œโ”€โ”€ error-fallback.tsx
    โ”‚ย ย  โ””โ”€โ”€ index.tsx
    โ”œโ”€โ”€ icons
    โ”œโ”€โ”€ index.tsx
    โ”œโ”€โ”€ screen.tsx
    โ”œโ”€โ”€ theme
    โ”‚ย ย  โ”œโ”€โ”€ colors.js
    โ”‚ย ย  โ”œโ”€โ”€ constants.tsx
    โ”‚ย ย  โ””โ”€โ”€ index.ts
    โ””โ”€โ”€ utils.tsx

๐Ÿงฉ Customization

๐Ÿ“ฒ Update App Icon & Splash screen

Replace App icons template with your icons under assets folder

Run the following command to generate App icons assets :

yarn prebuild

yarn ios

๐Ÿ”– License

This project is MIT licensed.

react-native-template-obytes's People

Contributors

remotenode avatar yjose 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.