Skip to content

semkolol/daily

Daily logo

Gamify Your Goals & Habits

Daily: Habit & Quest Tracker

Getting Started

Welcome to setting up the app! Follow these steps to get it running locally. The app operates fully offline, handling user data and in-app purchase logic locally. (Note: Be aware of potential challenges with local in-app purchase handling.)

Prerequisites

Before you begin, ensure you have the following:

  • Node.js: Download and install from nodejs.org.
  • Compatible Device: A simulator or physical device running at least iOS 15 or equivalent Android version.
  • Accounts for In-App Purchases (optional):

Configuration

To enable specific features, configure the following:

  1. In-App Purchases:

    • Sign up for a RevenueCat account and an Apple Developer account.
    • Replace the API keys in the following file:
      @/utils/purchases.ts
  2. AI Scan Feature:

    • Obtain an API key from OpenAI or Google Gemini.
    • Update the relevant configuration file with your API key (check the project documentation for the exact file).

Running Locally

Follow these steps to run the app on your local machine:

  1. Navigate to the Project Directory: Open your terminal and go to the root directory of the project:

    cd /path/to/your/project
  2. Install Dependencies: Install all required dependencies using npm:

    npm install
  3. Run the App: Use one of the following commands to run the app on your chosen platform:

    • For iOS:
      npx expo run:ios -d
    • For Android:
      npx expo run:android -d

    Note: The -d flag allows you to select a specific device or simulator.

  4. Development Note: The app was developed with an iOS-first approach, so some features may perform better on iOS devices or simulators.

Releases

No releases published

Packages

 
 
 

Contributors