Enatega

Accession

  • 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 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:

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:

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

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

  1. iOS Client Id Google
  2. Android Id Google
  3. Expo Client id Google
    • For IOS and Android google authentication setup Click here.
  4. STRIPE api key
  5. Amplitude api key
  6. Server Url

Set configuration variables in Admin Dashboard in .env file

  1. SERVER_URL
  2. Firebase Api Key
  3. CLOUDINARY_UPLOAD_URL

Set configuration variables in API in .env file

  1. MongoDb’s CONNECTION_STRING
  2. SERVER_URL

NOTE: Additional setups, such as Stripe, PayPal, email credentials, etc., can be added via the admin dashboard’s configuration tab.

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top