Themes Coder Grocery & Delivery SolutionsDocs
Getting started

Ionic app installation

This chapter covers SQL Sample Data, Mail Chimp For Newsletter, Facebook Login, One Signal Notification and Ionic App Installation.

Ionic App Installation#

Make Sure to complete this setup before the compiling process for application

Open the folder name Source Code inside the downloaded package.

Now open folder/src/services/config/config.service.ts file and change the following.

You can get the credentials from Admin panel -> Setting (Application) -> Application API it will be the URL of your domain. It will load CMS products data into your application.

  • Go to Admin Panel > Settings(Application) > Application API
  • Click Generate to create your Key and Secret.
  • Copy your App Key and App Secret.
  • Place this key in your config.service.ts file.

⦁ Place this consumer key & Secret in your project folder/src/services/config.service.ts file

save this file.

Test Application

open Terminal and go to a directory where is your app. You can use following command to go to different directory.

  • cd project folder

Then Run command

  • npm install
  • ionic serve

Note: Please Add CORS extension for browser if you browser shows warning when app is served sucessfully on browser.

SQL Sample Data#

This article will help you to import Sample SQL data. Consider these instruction to get Sample data and import into your website.

Please take backup first if you have added any products data. Because this restore demo content will delete your old data.

Open https://your-site.com/admin/managements/backup

Download our Sample SQL Dump From here.

Upload Sample Content Zip file by using below link.

Open https://your-site.com/admin/managements/import

Mail Chimp For Newsletter#

This allows you to Subscribe Newsletter for customers. Here is the official link with the detailed Mailchimp integration.

Step 1)Login to your MailChimp account. Under the user drop-down, select the Account.Step 2) Click on Extra->API keys.Step 3) Under the Your API keys section, click on Create A Key and copy your API key which you need in a moment. Step 4) Now you have our API key ready.Step 5) After that you need to enable Newsletter from back end and also put the Mailchimp API and Mailchimp Audience ID to complete MailChimp subscription process. You can get MailChimp Audience ID from below link

To enter your MailChimp Credentials use below link.

Open https://your-site.com/admin/newsletter

Facebook Login#

This allows you to log in through your Facebook credentials. Here is the official link with the detailed demonstration of Facebook integration

After that you need to enable Facebook login and also need to put Facebook app id , secret id , Facebook app URL, to complete Facebook login process.

To enter your Facebook Credentials use below link.

Open https://your-site.com/admin/facebooksettings

One Signal Notification#

You need Firebase account and onesignal account for documentation you can get information from link below.

First of all you need to create a project on FCM then add Firebase to your account to get sender ID using URL below

You can get sender ID after that you can create app on one signal to get App ID using link below

Now avail this feature, put both app ID and Sender ID at back-end make this feature functional. To enter your Onesignal Credentials use below link.

Open https://your-site.com/admin/pushnotification