/wayahNgopi-frontendMobile

Frontend point of sale build with react native - redux

Primary LanguageJavaScript

React Native is released under the MIT license. Current CircleCI build status. PRs welcome!

SCREENSHOOT DEMO

  • Product Product

  • Home Home

  • Cart Cart

  • Payment Payment

  • Profile Profile

Table Of Contents


Intro

WayahNgopi is a point of sale application covering all sales features starting from product management, category management, orders, and payment amount. This application was created using Reacts Native and backend using Express and MySQL.


Features

  • Manage Product (CRUD)
  • Manage Category (CRUD)
  • Manage User (CRUD)
  • Fancy UI Design
  • Simple Add to cart and manipulate quantity in checkout
  • Order product
  • Count payment receipt
  • Authentication with JWT in backend
  • Persist and rehydrate a redux store

Requirments


Related Projects

This project is related to several platforms


Installation

Clone Repo

clone the repository

$ git clone https://github.com/rifkiandriyanto/wayahNgopi-frontendMobile
$ cd point-of-sale-frontend
Install Depedencies
$ npm install
Update Depedencies
$ npm update
Setup Environment

Before project development or build for production, you should create new .env file, edit API_KEY variable to backend server. you can found the backend server here.. https://github.com/rifkiandriyanto/wayahNgopi-Backend

API_KEY=<Backend-api-url>
Run on android device

if you want start on development mode.

$ npx react-native run-android
Run on ios device

if you want start on development mode.

$ npx react-native run-ios
Build For Production

build for production ready, and host ready

$ cd android && ./gradlew --assembleRelease

Dependencies

List of depedencies using in this project

Plugin Description
React Native Mobile Apps Framework
Axios HTTP client for request API
Redux Global State Management
Redux Promise Middleware Promise handler for react redux
Redux Promise Persist Persist and rehydrate a redux store
React Native dotenv Ract Native dotenv

License

MIT

@2020 - Rifki Andriyanto