Skip to content

⚡️ Simple Ionic Angular app to demonstrate the use of the Capacitor NFC plugin.

Notifications You must be signed in to change notification settings

capawesome-team/capacitor-nfc-demo

Repository files navigation

capacitor-nfc-demo

⚡️ Simple Ionic Angular app to demonstrate the use of the Capacitor NFC plugin.

Plugins

The following plugins are included:

Development 💻

Prerequisites

Getting Started

# Clone this repository
$ git clone https://github.com/capawesome-team/capacitor-nfc-demo.git

# Change to the root directory of the project
$ cd capacitor-nfc-demo

# Install all dependencies
$ npm i

# Run the web app
$ npm run start

# Run the Android app
$ npx ionic cap sync android
$ npx ionic cap run android

# Run the iOS app
$ npx ionic cap sync ios
$ npx ionic cap run ios

This project uses Ionic as app development platform and the Ionic CLI.

Commands

  • npm run start - Start the app
  • npm run build - Build the app
  • npm run lint - Lint the project
  • npm run fmt - Format the project
  • npm run test - Run unit tests

Folder Structure

.
└── root
    └── src
        ├── app
        │   ├── config - Configuration files with consistent configurations across all environments
        │   ├── core - The core module that includes singleton services and other features with only one instance per application
        │   ├── modules - Modules that deliver a user experience dedicated to a particular feature or application domain
        │   └── shared - Modules that make a component, directive, or pipe available to external modules.
        ├── assets
        ├── environments
        └── tests