Skip to content

This is a simple e-commerce template with a visual search using TensorFlow built with React Native and Expo. It provides a basic structure and components to help you kickstart your e-commerce app development.

License

JamesUgbanu/Ecommerce-mobile-template

Repository files navigation

E-commerce Template using React Native and Expo

This is a simple e-commerce template with a visual search using TensorFlow built with React Native and Expo. It provides a basic structure and components to help you kickstart your e-commerce app development. The link to the UX design can be found here

Screenshots

Login Screen | Register Screen | Forgot Password Screen | Home Screen | Shop Screen | Category Screen | Filter Screen | Vissual Search Screen | Search Screen | Sort Screen

Features

  • User authentication (Sign up, Sign in, Forgot password)
  • Product Listing
  • Product search (Visual Search)
  • Product details
  • Add to cart
  • Cart management (Add, update, remove items)
  • Checkout flow
  • Order history
  • User profile management

Technology Stack

  • React Native: A JavaScript framework for building native mobile applications.
  • Expo: Expo is an open-source platform for making universal native apps for Android, iOS, and the web with JavaScript and React.
  • Redux: A predictable state container for managing the application state.
  • React Navigation: A navigation library for managing navigation between screens.
  • Axios: A promise-based HTTP client for making API requests.
  • React Native Elements: A UI toolkit for building reusable UI components.
  • React Native Vector Icons: A library for adding vector icons to your React Native application.
  • Formik: A form library for building scalable and reusable forms.
  • Yup: A schema validation library for form validation.

Prerequisites

Make sure you have the following installed:

  • Node.js
  • npm or yarn
  • Expo CLI

Getting Started

  1. Clone the repository:
git clone https://github.com/JamesUgbanu/Ecommerce-mobile.git
  1. Navigate to the project directory:
cd ecommerce-mobile-template
  1. Remove 2 packages that doesn't support react 18 from package.json
@tensorflow/tfjs-react-native and @tensorflow-models/mobilenet
  1. Install dependencies:
npm install

or

yarn install
  1. Force install the 2 package removed initially
npm install @tensorflow/tfjs-react-native @tensorflow-models/mobilenet --force
  1. Start the development server:
npm run start

This will open the Expo Developer Tools in your browser.

  1. Choose the desired platform (iOS, Android, or web) to run the app.

  2. Use the Expo client app or an emulator to run the app on your device.

Folder Structure

The project structure is organized as follows:

├── assets
│   ├── fonts
│   ├── images
├── components
│   ├── auth
│   ├── cart
│   ├── common
│   ├── products
│   ├── profile
├── constants
├── localization
├── navigation
├── screens
├── services
├── store
├── utils
  • assets: Contains font files and image assets used in the app.
  • components: Contains reusable UI components used throughout the app, organized by feature or functionality.
  • navigation: Contains the app's navigation configuration.
  • screens: Contains individual app screens.
  • services: Contains services or utility functions used across the app.
  • utils: Contains helper functions and utility scripts.

Feel free to modify the folder structure based on your project requirements.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request. UX design can be found here

License

This project is licensed under the MIT License. Feel free to use it for commercial or personal use.

Acknowledgments

This project is inspired by the React Native and Expo community. Thank you to all the developers who contribute to these amazing open-source frameworks.

Resources

About

This is a simple e-commerce template with a visual search using TensorFlow built with React Native and Expo. It provides a basic structure and components to help you kickstart your e-commerce app development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published