Skip to content

fabriciobonjorno/fortune-cookie-app

Repository files navigation

Fortune Cookie App

This is a React Native project that simulates the experience of opening a fortune cookie. With a simple press of a button, users can receive a random fortune or piece of advice. The app presents a closed fortune cookie that opens upon tapping, revealing a new message every time.

Features:

  • Tap the button to open a virtual fortune cookie.
  • Displays a random fortune or saying each time the cookie is opened.
  • Includes visual representations of a closed and open fortune cookie.

Screenshots

  • Closed Fortune Cookie:

    Screenshot from 2025-01-16 20-46-24

  • Opened Fortune Cookie:

    Screenshot from 2025-01-16 20-47-34


Getting Started

Note: Before starting, ensure you have completed the React Native Environment Setup instructions up to the "Creating a new application" section.

Step 1: Start the Metro Server

Metro is the JavaScript bundler that comes with React Native. Run the following command to start Metro from the root of your project:

# Using start
npx react-native start

# Run for Android 
npx react-native run-android
 
# Run for IOS
npx react-native run-ios

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published