What Prerequisite knowledge do you need to run this app ? #
- Admin Dashboard
- Mobile App
How to Setup locally? #
- Mobile Application
- Admin Dashboard
- Backend API
Clone or download the source code from Github. To download the source code Click here.
install expo-cli globally using npm install -g expo-cli before trying to run the apps.
- cd<Project directory>
e.g. cd enatega-singlevendor-app
- npm install (or yarn install)
- npm start
Scan the QR code with the Expo app (Android) or the Camera app (iOS).
Clone or download source code from Github
- To download Admin Dashboard Click here.
To run the module, you need to have nodejs installed on your machine. Once nodejs is installed, go to the directory and enter the following commands
- cd<Project directory>
e.g cd enatega-multivendor-app
- npm install (or yarn install)
- npm start
The API and backend are proprietary and can be accessed via a paid license. For further information, please contact us using the channels provided below:
- Email: info@enatega.com
If you have paid API code, to run the API enter the following commands:
- cd<Project directory>
e.g. cd enatega-api
- npm install (or yarn install)
- npm run dev
Scan the QR code with the Expo app (Android) or the Camera app (iOS).
How to deploy in production? #
- Backend API Server
- Admin Dashboard
- Mobile Application
Access to the backend and API requires a license that must be purchased. Please get in touch with us using the methods listed below for more information:
- Email: info@enatega.com
If you have paid API code, Apply the following instruction.
Download or clone the source code, then extract it and open the extracted folder in a terminal.
You must have nodejs installed on your computer in order to launch the module. After installing nodejs, open the directory and type the following commands:
cd<Project directory> e.g. cd enatega-singlevendor-api
Set environment file (.env). Click here to see the credentials you need to change.
After setting (.env) file, run the following commands:
npm install
npm run prod
To deploy your server online, Click here.
Clone or download source code from Github
- To download Admin Dashboard Click here.
Node.js must be set up on your computer in order to run the module. the following commands should be entered in the directory after nodejs has been installed.
cd<Project directory>e.g cd enatega-singlevendor-admin
Set environment file (.env). Click here to see the credentials you need to change.
After setting (.env) file, run the following commands:
- npm install
- npm run build
There are several ways to deploy react application one of the easiest ways is to deploy it using Netlify. You can read through its guide by going through this documentation.
Clone or download the source code from Github. To download Click here.
- cd<Project directory>
e.g. cd enatega-singlevendor-app
Update environment file (/environment.js files). Click here to see the credentials you need to change.
npm install
Creation of builds #
You must type the following instructions into your terminal in order to produce builds for both Android and iOS.
npm install -g eas-cli
eas login (Login with your expo credentials)
eas build:configure
eas build --platform all
eas submit --platform ios (to submit your app in App Store)
eas submit --platform android (to submit your app in Play Store)
Prerequisite Credentials you need to obtain in order to run this Project #
- Mobile App
- Admin Dashboard
- Backend API
App Ids for Mobile App in app.json
- iOS Client Id Google
- Android Id Google
- Expo Client id Google
- For IOS and Android google authentication setup Click here.
- STRIPE api key
- For configuring Stripe Click here.
- Amplitude api key
- Explore demo version on https://amplitude.com get amplitude key and replace it with amplitudeApiKey in app.json of mobile app.
- You can further explore dashboard by following amplitude documentation. https://developers.amplitude.com/
- Server Url
- update GRAPHQL_URL, WS_GRAPHQL_URL, SERVER_URL in /environment.js if you are running API/Server on different url/port.
e.g. http://10.97.28.129:8001/ OR https://<live url>/
- update GRAPHQL_URL, WS_GRAPHQL_URL, SERVER_URL in /environment.js if you are running API/Server on different url/port.
Set configuration variables in Admin Dashboard in .env file
- SERVER_URL
- update REACT_APP_SERVER_URL, REACT_APP_WS_ SERVER_URL in .env files if you are running API/Server on different url/port. e.g.
(http://10.97.28.129:8001/ OR https:///) and (ws://10.97.28.129:8001/ OR wss:///)
- update REACT_APP_SERVER_URL, REACT_APP_WS_ SERVER_URL in .env files if you are running API/Server on different url/port. e.g.
- Firebase Api Key
- CLOUDINARY_UPLOAD_URL
- For demonstration of Cloudnary, Click here.
Set configuration variables in API in .env file
- MongoDb’s CONNECTION_STRING
- For configuring MongoDB Database Click here.
- SERVER_URL
NOTE: Additional setups, such as Stripe, PayPal, email credentials, etc., can be added via the admin dashboard’s configuration tab.