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.
- 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
- Node.js
- Yarn or npm
- Expo CLI
To run this project locally, follow the steps below:
- Clone the repository:
git clone https://github.com/iamtommetcalfe/daily-affirmations.git
- Navigate into the project directory:
cd daily-affirmations
- Install the dependencies:
yarn install
# or with npm
npm install
- Start the development server:
npx expo start
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.
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