Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Latest commit

 

History

History
60 lines (40 loc) · 1.22 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.22 KB

Daily Affirmations

This is a simple React Native application built using Expo. The app displays a new affirmation each day and allows the user to add their own affirmations.

Features

  • Displays a new affirmation each day
  • Allows user to add their own affirmations
  • Sends a push notification at a specific time with a new affirmation
  • Provides a "Refresh" button for instant affirmation change

Prerequisites

  • Node.js
  • Yarn or npm
  • Expo CLI

Installation

To run this project locally, follow the steps below:

  1. Clone the repository:
git clone https://github.com/iamtommetcalfe/daily-affirmations.git
  1. Navigate into the project directory:
cd daily-affirmations
  1. Install the dependencies:
yarn install
# or with npm
npm install
  1. Start the development server:
npx expo start

Testing Notifications

To test push notifications, you will need to run the application on a physical device. Due to limitations in the iOS simulator, push notifications can't be tested in the simulator.

Build the App

To build a standalone version of the app, use Expo's build service. Run the following command:

npx expo build:ios
# or for android
npx expo build:android