Skip to content

A minimal boilerplate for Expo projects. Used to make https://github.com/tilap/expo-photo-swipe for example.

License

Notifications You must be signed in to change notification settings

tilap/expo-minimal-boilerplate

Repository files navigation

React native boilerplate with Expo

A bare minimal boilerplate for expo app.

  • app initialization and assets loader
  • basic navigation and screens so user can set his preferences for localization, theme and dark mode
  • ready to go with your own libs (no store, no ui lib, just go)

What's inside

Features:

  • Dark mode
  • Theme
  • i18n ready - with 2 locales for example
  • User preferences screens and storage (with i18n/theme/dark mode)

Comes with common dev tools:

  • eslint
  • prettier
  • tests with jest
  • husky / conventional commit
  • local logger (you can extends with Sentry and so on)

Keep it bare so:

  • No store (bring your own Redux, Zustand, ...). A Zustand one is used for Preferences and can easily be replaced or let working by its own.
  • No ui librariry, just a few bare component (Typography, Box, Button, ...).
  • No account nor business stuff

Screenshots

Home Preferences Dark mode Themes Locale About

Getting Started

Prerequisites

  • Node.js (version specified in .nvmrc or package.json)
  • Yarn (version specified in package.json)

Installation

Clone the repository:

git clone https://github.com/tilap/expo-minimal-boilerplate.git

Install dependencies:

yarn install

Start the development server:

yarn start

License

This project is licensed under the MIT License - see the LICENSE file for details.