Coder Social home page Coder Social logo

chai's Introduction

Chai Stack ☕

This is an opinionated react-native stack with Typescript, Expo Router, Tailwind(Nativewind) & Zustand

🚀 Quickstart

npx degit aviavinav/chai my-project

cd my-project && yarn install

yarn start

🛠️ Tools

  • Expo Router: The File-based router for universal React Native apps.

  • Typescript: TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.

  • Nativewind: NativeWind uses Tailwind CSS as scripting language to create a universal style system for React Native.

  • Zustand: A small, fast, and scalable bearbones state management solution.

🪴 How to use

📂 Folder Structure

├───app
├───assets
│   └───images
├───components
└───lib

❓ What & Where

The app directory will contain your routes, for example, if I name a file hello.tsx, I can access it with the Link component like <Link href="/hello">Go to Hello</Link>, See Expo Router docs for more.

The app/_layout.tsx defines a layout for your screens, edit this if you want a constant header.

You can edit the splash screen at components/loadingscreen.tsx. To change the time for which it is showed or make it wait for fonts to be loaded, edit app/_layout.tsx.

🧭 Path Aliases

The path aliases are as follows:

  • @assets: ./assets
  • @app: ./app
  • @components: ./components
  • @lib: ./lib

If you edit them make sure to edit both tsconfig.json as well as babel.config.js, and run your app with yarn start -c.

chai's People

Contributors

aviavinav 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.