Skip to main content

FastMart Template Documentation

· 5 min read

1. Introduction

Project Title: FastMart Template

Version: 1.0.0

Author: Appfast.io

Date: August 2, 2024

Description: FastMart Template is a fully functional mobile app template built with React Native and Expo, designed for quick and easy customization. You can use it to quickly create your own mobile app with minimal effort for your existing WooCommerce website, compatible with any templates.


Below is a quick guide to run the project.

Please visit https://docs.appfast.io for detailed instructions

!! Especially to customize the UI you can use Appfast Studio at https://dash.appfast.io for more convenience, without having to custom code


2. Table of Contents

3. Getting Started

Prerequisites

  • Software Requirements:

    • Node.js (version 20.x or later)
    • npm (version 9.x or later) or yarn (version 1.20 or later)
  • Knowledge Requirements:

    • Basic understanding of React Native

Installation

After purchasing FastMart app on CodeCanyon, download the source code package.

Extracting the zip file of source code, open it with Android Studio or Visual Studio Code.

Open iOS/Android simulator.

Install Dependencies:

# install package
yarn install

# setting & export expo Android & iOS
npx expo prebuild

Project supports running on all 3 platforms Web, Android & iOS

# for web:
yarn web

# for Android
yarn android

# for iOS
yarn ios

4. Configuration

Project Structure

The project structure is as follows:

├── assets
├── src
│ ├── app
│ │ ├── blocks
│ │ ├── components
│ │ ├── utils
│ ├── i18n
│ ├── types
│ ├── Loader.tsx
│ └── project.json
├── index.ts
├── package.json
└── readme.md
  • assets: Contains images and other assets
  • src/blocks: Contains block components. Each block has its own folder, for example, src/blocks/Block1
  • src/components: Contains reusable components
  • src/utils: Contains utility functions
  • src/i18n: Contains translations
  • src/types: Contains interface/type definitions
  • src/Loader.tsx: The root component
  • project.json: Project configuration
  • index.ts: Entry point of the app
  • package.json: Project metadata and dependencies

Configuration Files

  • src/project.json: All configuration settings for the app here.

WooCommerce Configuration

If you already had a WooCommerce website, you can get the WooCommerce API key and configure it in the src/project.json file.

If you don't have a WooCommerce website, you can use our Appfast cloud backend in the Appfast Studio.

5. Customization

There are 2 ways to customize the design of this app:

  1. Customize via the drag&drop Appfast Studio tool.

    You can create an account on Appfast Studio, then create an app with your Envato key.

    You can customize your design, then export the JSON file, and replace it with src/project.json in the source code of app.

  2. Customize directly on the source code of app via Android Studio or Visual Studio Code as below:

Modifying Components

To customize a component, locate it in the src/app directory. For example, to modify the Button component:

// src/app/components/Pressable.tsx

import React from "react";
import { TouchableOpacity, Text } from "react-native";

const Button = ({ title, onPress }) => (
<TouchableOpacity onPress={onPress} style={styles.button}>
<Text style={styles.text}>{title}</Text>
</TouchableOpacity>
);

const styles = {
button: {
backgroundColor: "#ff6347",
padding: 10,
borderRadius: 5,
},
text: {
color: "#fff",
fontSize: 16,
},
};

export default Button;

Adding New Features

To add a new component, create a new file in the src/app/components directory. For example, to add a Profile component:

// src/app/components/Profile.tsx

import React from "react";
import { View, Text } from "react-native";

const Profile = () => (
<View style={styles.container}>
<Text style={styles.text}>This is the Profile component.</Text>
</View>
);

const styles = {
container: {
flex: 1,
justifyContent: "center",
alignItems: "center",
},
text: {
fontSize: 18,
},
};

export default Profile;

6. Deployment

Android

  1. Build APK:

    expo build:android
  2. Install APK on Device:

    • Transfer the APK file to your device and open it to install.

iOS

  1. Build IPA:

    expo build:ios
  2. Install IPA on Device:

    • Use Xcode or TestFlight to install the IPA on your iOS device.

Web

  1. Build Web App:

    expo build:web
  2. Open Web App:

    open http://localhost:8081

7. FAQs

  • How do I change the app name and icon?

    • Modify the app.json file and update the name and icon properties.
  • How do I integrate third-party services (e.g., Firebase)?

    • Follow the official documentation for integrating third-party services. Add necessary packages and configuration in App.js.

8. Support

For support, contact us at [support@appfast.io].

If any errors occur during use, please report them to us at https://github.com/appfast-io/docs

9. Changelog

  • 1.0.0: Initial release.

FastMart WooCommerce - React Native E-commerce Full App

· 7 min read

Demo (iOS / Android): Please download Appfast Studio for iOS, Android, then use it to scan below QR code.

QR

Demo PWA: https://fast-mart.appfast.me (It's also a Telegram mini app)

Video Intro: https://www.youtube.com/watch?v=TbidwgVi-yk

Company Site: https://www.appfast.io/

Documents: FastMart Document

!! Please note that this app is for single vendor.

FastMart WooCommerce - React Native E-commerce Full App - 1

Welcome to the FastMart WooCommerce, a versatile and powerful solution created by Appfast Studio designed to accelerate your app development process. With FastMart, users can quickly and easily customize every aspect of their app, from UI to features, and export it seamlessly to React Native code.

FastMart WooCommerce is the Full React Native Application that creates iOS and Android mobile apps for your existing WooCommerce website, compatible with any templates.

  • Convert any WooCommerce website into iOS & Android app.
  • Easily published on both App Store and Google Play.

– Version: 1.0.0 – latest React Native v0.74

– Last update: 08 Aug 2024

– Files Included: Full React Native Source Code (iOS & Android & Web)

FastMart leverages the power of WordPress as a headless API, allowing you to manage user data, e-commerce functionality, news content, and more with ease. Setting up is a breeze, and for an even smoother experience, you can connect to Appfast Cloud Backend.

Appfast Cloud Backend takes care of all server management, databases, coding, and app performance optimization, allowing you to focus on customizing the backend to meet your specific needs.

With FastMart, you have powerful app, not only for Wordpress e-commerce, but also for news, marketing, HTML5 Mini app, and more.

In the nutshell, FastMart can integrate with:

  • Wordpress.

  • Blog / News.

  • E-commerce.

  • HTML5 Mini app.

Key Features

FastMart WooCommerce - React Native E-commerce Full App - 2 FastMart WooCommerce - React Native E-commerce Full App - 3 FastMart WooCommerce - React Native E-commerce Full App - 4

  1. User-Friendly Customization FastMart empowers users with the ability to personalize their app's appearance and functionality without extensive coding knowledge. The intuitive interface ensures a smooth customization process, enabling you to bring your unique vision to life.

  2. Seamless Integration with WordPress Leveraging WordPress as a headless API, FastMart allows users to efficiently manage data related to e-commerce, news, and more. The setup process is streamlined for convenience, making it accessible even for those new to headless CMS.

  3. Appfast Cloud Backend For those seeking an even simpler solution, the Appfast Cloud Backend offers comprehensive support, managing servers, databases, coding, and app performance. This backend service is highly customizable, allowing you to tailor it to your specific needs, ensuring optimal performance and functionality.

Appfast Studio introduction - 1

FastMart is a universal e-commerce app inspired by the React Native framework, made by Facebook. With the mission of reducing thousands of hours of business spent on designing, developing, and testing a mobile app, FastMart comes as a complete solution for optimizing to deliver your app to the market with high productivity and cost-efficiency. It could be able to satisfy all of the business requirements including e-commerce functionalities, impressive UX design, and smooth performance on both iOS and Android devices.

If your business has already had the website built based on the WooCommerce website then it is easy to integrate with FastMart in just a few steps, and quickly release the final app to both AppStore and Google Play store. The download package is included the full source code and many related resources (designs, documents, videos…) that help you install in the smoothest way.

Either you are business people with raising sale ambition or developers with faster mobile application creation need, FastMart provides you solutions.

Faster - Smoother - Closer.

WooCommerce features demo

Here are the different types of products.

In the app demo, you can search for product names and explore them.

  • Subscription
  • Simple product
  • Grouped product
  • External/Affiliate product
  • Variable product (Colors, sizes...)
  • Upload file on product (Fashion)
  • Downloadable product (Digital, book stores)
  • Appointable product (Booking, spa, salon, clinic...)
  • Minimum quantity product
  • Out of stock product
  • On sale product

Available Features

Compatible with WooCommerce site – create the app on both iOS and Android for any WooCommerce sites. If no website, you can use our built-in Appfast Studio WooCommerce plug-in.

Instance Synchronization – from mobile to the server and vice versa, the data will be updated smoothly without waiting for time.

White-labeling – support fully custom by getting the full source code package, design assets, free extra API.

Easy Design by drag-n-drop – customize easily and quickly the Design of your apps without republishing them to Google Play and Apple Store.

Great UX design – multi-level categories (horizontal, menu, side menu, card view, etc.), quick product filter, super smooth checkout flow, searching keyword history, Blog Detail screens- change to difference sexy blog detail news via the config file.

Flexible Design System – easy to config the Homepage, Category, Blog with a bunch of built-in blocks: Header Bar, Drawer Menu, Bottom Bar, Slider Banner, Product List, Product Detail, Article List, Article Detail, Title Bar, Shopping Cart, Navigation, Video Player, Store List, etc.

Flexible Category List – ability to remap a new multi-category tree that is different from the backend site.

Advance Product Detail View Config – with the option to show SafeArea, Image Height, inline Video on Product Detail.

Subscription, Brands – usability for WooCommerce subscription products and Brands carousel.

Push Notification – via OneSignal, Firebase; Order Status Notifications, In-app notification, history messages.

Powerful User Settings – view WishList, Order Tracking, Rate App on app stores, Dark theme, Smart Chat setting, switching languages, enable push notifications.

Offline Images Caching – speed up the loading performance with caching image offline method.

What will you get with regular license?

  • Full React Native source code for both iOS, Android apps, and PWA
  • You can edit all via source code of FastMart lifetime
  • One time purchase, Lifetime upgrade
  • Well guide to manually build your iOS & Android apps
  • Free drag-and-drop Appfast Studio tool for:
    • Drag & Drop Design Customization
    • Features Configuration
    • Design & Feature files Download
    • Design Upgrade without Republishing to App Stores
    • Unlimited Push Notifications
    • Unlimited App Editing

Conclusion

FastMart WooCommerce by Appfast Studio is your go-to solution for rapid, customizable app development. Whether you opt for WordPress integration or the robust Appfast Cloud Backend, FastMart ensures your app has the features and performance needed to succeed. Explore the potential of FastMart and elevate your app development journey today.

My Customer projects

These examples highlight the template's adaptability to different industries, providing a solid foundation for a wide range of app development projects.

The Coffee Shop E-commerceuGreen E-commerce
FastNews PortalShowcase - 01
Showcase - 02Showcase - 03
Showcase - 04Showcase - 06