Skip to content

Makers-Den/makersden-app

Repository files navigation

Makers' Den App

Main features

Apps and Packages

  • native: a react-native app built with expo
  • web: a Next.js app built with react-native-web
  • ui: a stub react-native component library shared by both web and native applications
  • api: re-usable backend code shared by both web and native applications
  • client-logic: re-usable client logic shared by both web and native applications
  • storyblok-types: types for our Storyblok content
  • tsconfig: tsconfig.jsons used throughout the monorepo
  • eslint-config-custom: custom eslint config used throughout the monorepo

Each package/app is 100% TypeScript.

Running the app locally

  1. Copy the .env file to .env.local and fill in the values in web directory. You can find secrets in our company Bitwarden vault.

  2. Run the following command to install dependencies:

    yarn
  3. Run the following command to start the NextJS app:

    yarn dev
  4. Install Expo CLI by running:

    npm i -g expo-cli@6.0.8
  5. Run the following command to start the Expo app (we keep this separate from the NextJS app so that we can leverage the Expo interactive CLI tools and choose simulator platform):

    yarn dev:ios

    or

    yarn dev:android
  6. To lint the codebase, run:

    yarn lint:fix

Useful URLs

Common

Production

Staging