GithubHelp home page GithubHelp logo

viperexample's Introduction

VIPERExample

An iOS+Swift 3.0 demo project for VIPER.

Setup Mock Server Firstly

A stand in server for the mobile devices, using RoboHydra

  1. Install nvm
  2. Run curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
  3. Set it up for the current shell instance by running export NVM_DIR="$HOME/.nvm", then [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
  4. Install Node 7.10.0
  5. Run nvm install v7.10.0
  6. Check it installed correctly by running node -v

Run the server on your machine

  1. go to mockserver folder.
  2. Run npm install to install project dependencies. You only need to do this the first time, or when dependencies change.
  3. Run the server with npm start
  4. Go to http://localhost:3000/robohydra-admin for the admin console.

Developer setup

  1. make sure your mock server has been setup and running.
  2. open FruitApp/FruitApp.xcodeproj by Xcode.
  3. Enjoy it.

Project Description1.

  1. Try to show that how to create a simple app with VIPER architecture.
  2. Demo data with a mockserver which used node & robohydra
  3. showing animaions & design idea.

viperexample's People

Contributors

ylem avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.