Giter Club home page Giter Club logo

wmap's Introduction

Wmap

Build Status

このプロジェクトでは、 Excel や CSV のオープンデータから簡単にウェブベースのモバイルアプリを作れるようにすることを目標にしています。

このプロジェクトの特徴

  • data/ ディレクトリ内に CSV や Excel ファイルを設置して npm コマンドを実行するだけで、それらのデータが JSON API に変換されモバイルアプリ上に表示されます。
  • config.jsonREADME.md を編集することで、トップページやタイトルなどをカスタマイズすることができます。
  • 開発環境をあらかじめ構築済みなので、プログラミング初心者でもすぐにはじめることができます。
  • Riot.js の柔軟でわかりやすいカスタムタグにより、さらに一歩踏み込んだカスタマイズも可能です。

はじめかた

Git と Node.js がインストール済みの環境であれば、以下のコマンドですぐに試すことができます。

$ git clone [email protected]:wakayama-hacker/wmap.git
$ cd wmap
$ npm install
$ npm run build
$ npm start

データのカスタマイズ

data/ ディレクトリに以下のフォーマットの CSV ファイル、または Excel ファイルを設置してください。

menu title lat lng content
串本 橋杭岩 33.488547 135.795751 これは橋杭岩です。
串本 潮岬 33.437084 135.755906 本州最南端の潮岬です。
白浜 円月島 33.690140 135.337222 円月島です。

CSV の場合、以下のようなフォーマットになります。

menu,title,lat,lng,content
串本,橋杭岩,33.488547,135.795751,これは橋杭岩です。
串本,潮岬,33.437084,135.755906,本州最南端の潮岬です。
白浜,円月島,33.690140,135.337222,円月島です。

データの編集が終わったら以下のコマンドでビルドしてください。

$ npm run build

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.