aijo / ios-rest-call

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample of webservice rest call

This repository is demo project for demonstrate calling rest services between frontend(iOS) and backend(NodeJS). The repository contains two part which is ios and express. To start please do following this steps:-

1. Start NodeJS server

cd express    # Go to backends project
npm install   # Install all dependency using npm
node app.js   # Start NodeJS server

Now you can test your server by calling service by http://localhost:8080/

2. Start iOS application

cd ios        # Go to frontends project
pod installl  # Install all dependency using Cocoapods

As now you can open xcworkspace project and running for test.

Enjoy!

About


Languages

Language:Swift 95.6%Language:Shell 3.3%Language:JavaScript 0.6%Language:Objective-C 0.4%Language:Ruby 0.0%