Skip to content

subo93/simple-rest-ionic

 
 

Repository files navigation

Simple REST with ionic

A simple project using Ionic framework demonstrating CRUD powered by Backand.

Prerequisites

You will need:

Getting Started

  1. Create new App in Backand with the following model (or just keep the default Model):
[
  {
    "name": "items",
    "fields": {
      "name": {
        "type": "string"
      },
      "description": {
        "type": "text"
      },
      "user": {
        "object": "users"
      }
    }
  },
  {
    "name": "users",
    "fields": {
      "email": {
        "type": "string"
      },
      "firstName": {
        "type": "string"
      },
      "lastName": {
        "type": "string"
      },
      "items": {
        "collection": "items",
        "via": "user"
      }
    }
  }
]
  1. Once the App is ready, run the following commands:
$ git clone git@github.com:backand/simple-rest-ionic.git
$ cd simple-rest-ionic
$ npm install
$ bower install
  1. Ensure you have ionic installed:
$ npm install -g cordova ionic
  1. You can run ionic in the browser or simulator:

Run in the web browser:

$ ionic serve

or

Run in an iOS simulator:

$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios

Ionic's Getting Started pages provide more help getting-started.

About

A simple rest api project on ionic framework and Backand

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 90.1%
  • JavaScript 6.7%
  • HTML 3.2%