GithubHelp home page GithubHelp logo

kitty.json's Introduction

#kitty.json

This repo contains a native iOS app.

You're probably thinking "There's only two JSON files here and that's it, how can this possibly be a native app?"

Well, it's because it's powered by Jasonette, which enables native apps over HTTP, using JSON.

The gif you see below is an actual capture of the resulting app

It's fully native, and served directly from this repo over HTTP.

Check out the website to learn how it works.

kitty gif

##How kitty.json works

There are three JSON files here: index.json, popular.json, and detail.json. Each describes a view.

  1. popular.json: The second tab ("sorted by rank") - Makes a network request to producthunt.com website. - Parses the response into JSON. - Renders the result JSON markup into native components. - Transitions to detail.json when a user touches an item, passing the corresponding url as a parameter.

  2. index.json: The home tab. Works the same way as popular.json, but displays the result sorted by time.

  3. detail.json: The details screen (product details page) - Makes a network request to each detail page, using the parameter passed in from index.json and popular.json. - Parses the response into JSON. - Renders the result JSON markup into native components.

##How to use

  1. Download Jasonette.
  2. Run Setup.
  3. When asked for url, enter the raw JSON url for index.json.

##Want more? This is just a small example to demonstrate what kind of apps you can build with nothing but JSON. Learn more about Jasonette

For questions and support, please use the Slack chatroom

slack

kitty.json's People

Contributors

gliechtenstein avatar alexintosh avatar

Stargazers

Sheena avatar Nitin Khanna avatar Nico van Zyl avatar Josh Teneycke avatar Daniel Naranjo avatar Luca G. Soave avatar Byungjik Roh avatar  avatar Rico Moorman avatar Luis Gustavo avatar Alain Armand avatar Andrei Radulescu avatar

Watchers

James Cloos avatar  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.