Skip to content

Trusted Web Activity for the CardusApp project. A webapp that allows you to create and manage your own personal warehouse/storage/carton.

License

Notifications You must be signed in to change notification settings

ImBIOS/cardus-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

📦 CardusApp TWA

This is the Trusted Web Activity for the CardusApp project. It is a webapp that allows you to create and manage your own personal warehouse/storage/carton.

😎 Features

  • Feature: Box
    • Create Box
      • Add Box Name
      • Add Box Location
      • Add Box Image
      • Use Google Cloud Storage API
    • Create Item in Box
      • Add Item Name
      • Add Item Meta Search Keywords
      • Delete Item Meta Search
      • Add Item Image
      • Delete Item Image
      • Auto Label Image with AI
    • Read Box
      • Read Box Detail
      • Read All Box
    • Update box detail
    • Delete Box
      • Delete Box Image
    • Read All Item in Box
    • Update Item Detail
    • Delete Item
    • Print Box QR Code
  • Feature: Search
    • Semantic Search Item
    • Locate Item-in-Box by QR Scan
  • Feature: Scan QR
    • Open Box Data by Scan
    • Box Privacy & Authorization
  • Feature: Trusted Web Activity
    • Build TWA
    • Publish to Google Play Store
  • Testing
    • Unit Testing
    • Integration Testing
    • E2E Testing
  • Storybook
    • Create Storybook
    • Deploy Storybook

🛠 Develop Locally

📄 Prerequisites

🚀 Getting Started

  1. Clone the repository
  2. Install dependencies with yarn install
  3. Start the development server with yarn dev

🏗️ Build

  1. Build the project with yarn build
  2. Start the production server with yarn start

💻 CORS

🔨 How to Set

  1. Edit cors.json
  2. Run gcloud storage buckets update gs://BUCKET_NAME --cors-file="cors.json"

🔍 How to Check

gcloud storage buckets describe gs://BUCKET_NAME --format="default(cors)"