Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Ionic
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Ionic

Learning Ionic

By : Ravulavaru
4.4 (14)
close
close
Learning Ionic

Learning Ionic

4.4 (14)
By: Ravulavaru

Overview of this book

This book is intended for those who want to learn how to build hybrid mobile applications using Ionic. It is also ideal for people who want to explore theming for Ionic apps. Prior knowledge of AngularJS is essential to complete this book successfully.
Table of Contents (12 chapters)
close
close
11
Index

Setting up the server


Since setting up the server is not a critical part of this book or this example app, you have two ways to do it:

  1. Consume an existing REST API, which I have built.

  2. Fork the server code, set up DB and run the server locally.

For option 1, you can check out the docs (https://ionic-book-store.herokuapp.com/) on readily available REST API end points and how to consume them.

For option 2, we will carry out the following operations:

Download and unzip the server code from: https://github.com/arvindr21. If you are familiar with Node.js, this is a typical Express application that has JWT added to it.

For the database, you can either use your local instance of MongoDB or you can get a free MongoLab (https://mongolab.com/) account and use it. Or you can use my MongoLab URL for this. Do note that other people are also using this URL; so kindly be sensible about it.

Once you have decided on the connection, you need to open server/db/connection.js and update the connection string on line...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY