Setup
E-Shop is an E-commerce mobile app template built on top of React Native. It supports both Android & IOS platforms and uses the latest React Native version.
Prerequisites
Please follow below steps to install and setup all rerequisites:
-
Node
Make sure to have the Node installed & running in your computer. If you already have installed node on your computer, you can skip this step. Node version must be greater then equal to 10 I recommend v12.14.1.
Installation
To setup the admin template, follow below-mentioned steps:
-
Install Prerequisites
Make sure to have all above prerequisites installed & running on your computer.
-
Install Dependencies
Open your terminal at the root directory of the project, go to your folder and enter the command
npm install. This would install all the required dependencies in thenode_modulesfolder.
To setup authentication with Fack-backend please follow the below steps. Default it has fack-backend authentication setup.
Fack-Backend API
Set JSON Server in the file.
use this comment run server data json-server --watch db.json --port 3004
db.json file.
After you finished with the above steps, you can run the following commands to run the project locally for production use:
| Command | Description |
|---|---|
npm install
|
This would install all the required dependencies in the node_modules folder. |
react-native-numeric-input
|
This Folder need after run npm install replace it on node_modules/react-native-numeric-input
|
react-native run-android
|
Runs andriod app the project locally, starts the development server and watches for any changes in your code. |
use Xcode To run IOS
|
Image To Show |
Payment Method Paypal
Please add key sandbox or live on paypal.configure object Path node_Paypal_Gateway/routes/payment.js Line 27.
Open Folder named "node_Paypal_Gateway" by terminal and run this command nodemon
will work on part 3001
After you finished with the above steps, you can use the Paypal method gateway