Skip to content


Repository files navigation

Ionic Parse Server


Please help this repo with a ⭐ or Sponsor Me if you find it useful! 😊

About this starter

This is a simple starter for integrating Ionic 3, Angular 4+ and Parse Server. It provides a small PoC (Proof of Concept) app for adding/removing scores and uses signin/signout based on Parse Server. You can just use it as the foundation for your next big app.

Some screenshots

File structure

β”œβ”€β”€ resources/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ app.constant.ts
β”‚   β”‚   β”œβ”€β”€ app.component.ts
β”‚   β”‚   β”œβ”€β”€ app.module.ts
β”‚   β”‚   β”œβ”€β”€ app.template.html
β”‚   β”‚   └── main.ts
β”‚   β”‚
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   └── icon/
β”‚   β”‚       └── favicon.ico
β”‚   β”‚
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ about/
β”‚   β”‚   β”‚   β”œβ”€β”€ about.html
β”‚   β”‚   β”‚   β”œβ”€β”€ about.ts
β”‚   β”‚   β”‚   └── about.scss
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ account/
β”‚   β”‚   β”‚   β”œβ”€β”€ account.html
β”‚   β”‚   β”‚   β”œβ”€β”€ account.ts
β”‚   β”‚   β”‚   └── account.scss
β”‚   β”‚   β”‚
β”‚   β”‚   │── contact/
β”‚   β”‚   β”‚   β”œβ”€β”€ contact.html
β”‚   β”‚   β”‚   β”œβ”€β”€ contact.ts
β”‚   β”‚   β”‚   └── contact.scss
β”‚   β”‚   β”‚
β”‚   β”‚   │── home/
β”‚   β”‚   β”‚   β”œβ”€β”€ home.html
β”‚   β”‚   β”‚   β”œβ”€β”€ home.ts
β”‚   β”‚   β”‚   └── home.scss
β”‚   β”‚   β”‚
β”‚   β”‚   │── signin/
β”‚   β”‚   β”‚   β”œβ”€β”€ signin.html
β”‚   β”‚   β”‚   β”œβ”€β”€ signin.ts
β”‚   β”‚   β”‚   └── signin.scss
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ signup/
β”‚   β”‚   β”‚   β”œβ”€β”€ signup.html
β”‚   β”‚   β”‚   └── signup.ts
β”‚   β”‚   β”‚
β”‚   β”‚   └── tabs/
β”‚   β”‚       β”œβ”€β”€ tabs.html
β”‚   β”‚       └── tabs.ts
β”‚   β”‚
β”‚   β”œβ”€β”€ providers/
β”‚   β”‚   │── auth/
β”‚   β”‚   β”‚   └── auth.ts
β”‚   β”‚   β”‚
β”‚   β”‚   └── parse/
β”‚   β”‚       └── parse.ts
β”‚   β”‚
β”‚   β”œβ”€β”€ theme/
β”‚   β”‚   └── variables.scss
β”‚   β”‚
β”‚   └── index.html
β”œβ”€β”€ typings/
β”‚    └── cordova-typings.d.ts
β”œβ”€β”€ .editorconfig                 * Defines coding styles between editors
β”œβ”€β”€ .gitignore                    * Example git ignore file
β”œβ”€β”€ config.xml                    * Cordova configuration file
β”œβ”€β”€ ionic.config.json             * Ionic configuration file
β”œβ”€β”€ LICENSE                       * MIT License
β”œβ”€β”€ package.json                  * Defines our JavaScript dependencies
β”œβ”€β”€ package-lock.json             * Defines our exact JavaScript dependencies tree
β”œβ”€β”€                     * This file
β”œβ”€β”€ tsconfig.json                 * Defines the root files and the compiler options
β”œβ”€β”€ tslint.json
└── *.png                         * Images for the

Ionic Framework

The Ionic framework allows for the creation of highly interactive, cross-platform mobile applications that can be deployed across iOS, Android, and Windows devices. These hybrid applications include native functionalities, exhaustive gestures, and customizable tools to enhance user-friendliness. Those powerful capabilities are brought to Ionic because it provides mobile-friendly HTML, JS, and CSS components to developers.

Some of its advantages are:

  • Open source
  • Code once, run on all mobile devices
  • One programming language for all mobile OS
  • Use of well-known web technologies
  • A huge community

Parse Server

Parse Server is an open source version of the Parse backend that can be deployed to any infrastructure that can run Node.js. It works with the Express web application framework and can be added to existing web applications, or run by itself. Its repository on Github is very active with ~165 contributors and ~14K stars so even if you didn't use the hosted Parse platform before, its open source version is a wise choice if you need to build a backend for you mobile app or your clients apps.

Parse offer a backend to store data, push notifications, social media integration for your app etc. The features provided tend to be helpful in prototyping quickly.

  • General Purpose: Open Source
  • Hosting: Self-hosting or Parse Server Hosting providers. Supports local testing and development
  • Custom Code: Supported via Cloud Code
  • Database: Mongo DB
  • Push: Support push notifications for Android, iOS. Also users can manage Push Notifications campaigns
  • Storage: No restricted time limits and no file storage restrictions. Control over backup, restore and database indexes
  • Ideal for: General purpose applications

How to use this starter?

  1. Install Ionic
$ npm install -g ionic cordova
  1. Install and run Parse Server
$ npm install -g parse-server mongodb-runner
$ mongodb-runner start
$ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test

You can use any arbitrary string as your application id and master key. These will be used by your clients to authenticate with the Parse Server. The application id and the parse url can be changed in src/app/app.constant.ts.

  1. Fork this repository and clone it
$ git clone<your-user>/ionic-parse-server
  1. Navigate into the folder
$ cd ionic-parse-server
  1. Install NPM dependencies
$ npm install
  1. Run the project
$ ionic serve
  1. Navigate to http://localhost:8100 in your browser

Or if you only want to add Parse Server to your project

  1. Go to the project directory:
cd my-project
  1. Install Parse SDK by running the following command
npm install parse --save
  1. Import Parse
import { Parse } from 'parse';
  1. Declare your parseAppId and parseServerUrl
private parseAppId: string = 'APPLICATION_ID';
private parseServerUrl: string = 'http://localhost:1337/parse';
  1. Initialize it on the constructor
constructor() {

private parseInitialize() {
  Parse.serverURL = this.parseServerUrl;

That's all! Just create a provider, import Parse and start writing code


  • Report issues
  • Open pull request with improvements
  • Spread the word
  • Reach out to me directly at