Git Product home page Git Product logo

ecommerce-demo's Introduction

A basic e-commerce app with React Native

A very small ecommerce application focussing on fundamentals of React Native. The app consists of a landing page with search textInput, a product list page & a product display page (PDP).

Prerequisites

Install node + npm & then Expo

Install npm

Install Expo

Getting Started

These instructions will get you a copy of the app and running on your local machine/emulator/device for development & learning purposes:

  • Fork the repo to your personal Github account
  • Open terminal, navigate to project directory & run following commands
  • npm i -g exp Install Expo if you haven't already
  • npm install Install dependencies
  • exp start Build Expo project & Run the bundler
  • git checkout v1.0 Checkout first version

Post this, jump to How to proceed

What will you learn

You will learn about following concepts:

  • Making a complex layout using in-built components of React Native such as View, Image, Text, TextInput, Touchables, etc.
  • Adding an external library to package.json & using it
  • Handling Navigation between screens using React Navigation
  • Handling Networking using fetch & async-await
  • Creating a simple list layout
  • Modifying a component for reusability

How to proceed

This is an incremental project. You can proceed through the project by using git tags in the repo. The project is build step by step. Checkout the first tag(v1.0) to start. Here's a description of each step:

  1. Blank expo project with Hello World layout - v1.0
  2. A basic layout with TextInput, Button & Touchables - v1.1
  3. Updated folder structure breaking down app to screens/sub apps & components - v1.2
  4. Move the existing search screen to new folder structure - v1.3
  5. Add an external navigation library(React Navigation) and navigate to a new screen - v1.4
  6. Create a list based layout using Flatlist & a custom component - v1.5
  7. Modify the Product component to make it reusable for Product Display Page(PDP) - v1.6

Screenshots

Search TextInput   Search List   Product Display Page

Authors

Anurag Dadheech

License

This project is licensed under the MIT License

ecommerce-demo's People

Contributors

anuragdadheech avatar yashovardhan avatar

Stargazers

Roman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.