Skip to content

sd535682/QuoteCanvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Quote Canvas πŸ“œβœ¨

Craft Quotes, Keep Memories with QuoteCanvas!

🌟 Overview

QuoteCanvas is a sleek Android application built with React Native CLI, designed to inspire users by creating, displaying and sharing beautifully crafted quotes. With a clean and intuitive interface, users can view random quotes, create and share them effortlessly. Perfect for spreading positivity and motivation on the go! πŸš€

πŸŽ₯ App in Action

VN20250528_232107

🎨 Features

  • Personalized Accounts πŸ“œ: Log in and sign up to access your personalized quotes.
  • Random Quote Display πŸ“œ: Fetch and display inspiring quotes on the home screen.
  • Create Quotes πŸ–ŒοΈ: Create your own inspiring quotes.
  • Share Quotes πŸ“²: Share your favorite quotes directly to social media platforms.
  • Theme πŸ“±: Supports both dark and light themes.

πŸ› οΈ Tech Stack

  • React Native βš›οΈ: For building a cross-platform mobile app.
  • TypeScript πŸ“œ: Enhances the app's functionality with static typing and modern JavaScript features.
  • Reanimated 🧭: For smooth animations.
  • Zustand 🧭: For robust state management.
  • MMKV 🧭: For fastest key value storage.

πŸ“‹ Prerequisites

To run QuoteCanvas locally, ensure you have the following installed:

  • Node.js (v16 or higher) 🟒
  • npm or yarn πŸ“¦
  • JAVA 17 ( preferred )πŸ“¦
  • ANDROID SDK ( ignore if Android Studio is installed ) πŸ“¦
  • Android Studio or Xcode: For running emulators/simulators (optional).
  • A code editor like VS Code πŸ–₯️.

πŸš€ Getting Started

Follow these steps to set up and run QuoteCanvas locally:

  1. Clone the Repository:

    git clone https://github.com/sd535682/QuoteCanvas.git
    cd QuoteCanvas
  2. Install Dependencies:

    npm install

    or

    yarn install
  3. Start the Development Server:

    npm start
    npm run android
  4. Build for Production: To create a production build:

    cd android && ./gradlew assembleRelease

πŸ’Ύ Backend

To set up the backend, please visit - https://github.com/sd535682/QuoteCanvas_Backend

πŸ“‚ Project Structure

Here’s the structure of the QuoteCanvas repository, with details on key files and their usage:

QuoteCanvas/
β”œβ”€β”€ config/config.ts        # development and production configs
β”œβ”€β”€ assets/                 # project assets
|
β”œβ”€β”€ src/                    # main source directory
β”‚   β”œβ”€β”€ components          # Reusable components
β”‚   β”œβ”€β”€ constants           # Colors and Icon declarations
β”‚   β”œβ”€β”€ context             # Auth Context
β”‚   β”œβ”€β”€ navigations         # Multiple navigations [ Stack, Tab, etc ]
β”‚   β”œβ”€β”€ screens/            # App and Auth screens
β”‚   β”œβ”€β”€ services/           # API requests
β”‚   β”œβ”€β”€ themes/             # Dark and Light theme properties
β”‚   β”œβ”€β”€ utils/              # MMKV to store user session
|
β”œβ”€β”€ App.tsx                 # Entry point of the application πŸš€
β”œβ”€β”€ app.json                # configuration file βš™οΈ
β”œβ”€β”€ babel.config.js         # Babel configuration for transpiling JavaScript
β”œβ”€β”€ package.json            # Project dependencies and scripts πŸ“¦
β”œβ”€β”€ README.md               # This file! πŸ“–

βš™οΈ Config setup

const config = {
  API_URL: __DEV__
    ? 'http://localhost' // Local Backend URL
    : 'https://Production URL',  // Production URL

  DEBUG_MODE: __DEV__,
  TIMEOUT: __DEV__ ? 10000 : 5000,
  ENABLE_LOGS: __DEV__,
};

if (__DEV__) {
  console.log('πŸ”§ Config loaded:', config);
  console.log('🌍 Environment:', __DEV__ ? 'Development' : 'Production');
}

export const debugLog = (...args: unknown[]): void => {
  if (__DEV__) {
    console.log(...args);
  }
};

export const debugWarn = (...args: unknown[]): void => {
  if (__DEV__) {
    console.warn(...args);
  }
};

export const debugError = (...args: unknown[]): void => {
  if (__DEV__) {
    console.error(...args);
  }
};

export default config;

πŸ–ΌοΈ Icon Themes

Screenshot_20250528-232905_crDroid Home Screenshot_20250528-232835_crDroid Home Screenshot_20250528-232815_crDroid Home

πŸ“œ License

This project is licensed under the Apache License Version 2.0. See the LICENSE file for details (consider adding a LICENSE file to your repo).

🌐 Connect

Star this repo if you love spreading inspiration with QuoteCanvas! ⭐ Let’s make the world a more positive place! 😊

About

React Native app for Quotes Canvas

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors