Skip to content

Adeayo10/green-moss-plant

Repository files navigation

  • This project is an Ionic application named "green-moss-plant" that provides a platform for users to browse, purchase, and review various plants.

  • The application includes features such as plant details, user profiles, shopping cart, and delivery tracking.

  • It is built using Angular and Ionic frameworks and supports both Android and iOS platforms through Capacitor.

  • Project Structure:

    • src/app: Contains the main application code including components, services, and modules.
    • src/environments: Contains environment-specific configuration files.
    • src/assets: Contains static assets such as images and icons.
    • android: Contains Android-specific configuration and build files.
    • ios: Contains iOS-specific configuration and build files.
  • Key Components:

    • PlantPage: Displays a list of plants and their details.
    • UserProfileComponent: Manages user profile information.
    • CartPage: Manages the shopping cart functionality.
    • DeliveryPage: Tracks the delivery status of orders.
  • Android Build:

    • android/app/build.gradle: Configures the Android build settings including dependencies, SDK versions, and build types.
    • android/settings.gradle: Includes project settings and dependencies for Android.
    • android/gradle.properties: Contains project-wide Gradle settings.
    • android/variables.gradle: Defines version numbers for Android dependencies.
    • android/app/src/main/AndroidManifest.xml: Declares permissions and application components for Android.
  • iOS Build:

    • ios/App/Podfile: Manages CocoaPods dependencies for iOS.
    • ios/App/App.xcodeproj: Contains Xcode project settings and configurations.
    • ios/App/App/Info.plist: Defines application metadata and configuration for iOS.
    • ios/App/App/Base.lproj/LaunchScreen.storyboard: Defines the launch screen for the iOS application.
    • ios/App/App/Base.lproj/Main.storyboard: Defines the main interface of the iOS application.
  • Development and Build Commands:

    • npm start: Serves the application locally.
    • npm run build: Builds the application for production.
    • npm run test: Runs unit tests.
    • npm run lint: Lints the application code.
  • Dependencies:

    • Angular: Framework for building the application.
    • Ionic: Framework for building cross-platform mobile applications.
    • Capacitor: Provides native runtime and plugins for accessing native device features.
    • Various Angular and Ionic modules for UI components, routing, forms, and storage.
  • Testing:

    • Unit tests are written using Jasmine and executed with Karma.
    • Test configuration is defined in karma.conf.js.
    • Test files are located in the src directory with the .spec.ts extension.
  • Linting:

    • ESLint is used for linting the TypeScript code.
    • Linting configuration is defined in .eslintrc.json.
  • Notes:

    • Ensure that the google-services.json file is present for Firebase services to work.
    • Update the capacitor.config.json file with the appropriate app ID and name.
    • Follow the Angular and Ionic documentation for best practices and additional configuration options. */

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published