Giter Site home page Giter Site logo

addli / motorhomes.addli.jp Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 732 KB

Location of motorhome builder in Japan.

Home Page: https://motorhomes.addli.jp

License: MIT License

JavaScript 9.56% TypeScript 40.36% CSS 50.08%
demonstration single-page-applications riot riot-nav riot-tab vanlife

motorhomes.addli.jp's Introduction

motorhomes.addli.jp CircleCI

This project purpose is demonstration of web development by +Li, Inc. It has almost the same design as the native application. Riot.js made it possible. I am strongly influenced by iOS development.

Point

Project structure

  • I bundled by rollup. I solved dependencies between libraries.
  • Install libraries for npm. Looking at package.json makes it possible to understand dependent libraries. This was also conscious of native applications.
  • I pulled out only grid system from bootstrap. We are assembling the style required by SPA from scratch.
  • Logic is written in TypeScript. However, warnings are not output due to the problem of rollup-plugin-typescript. The benefits of adopting TypeScript have partially disappeared. Respond as soon as possible.
  • Hjson is adopted so that you can write comments directly in the settings. My favorite configuration file format. json < yaml < hjson.

Application implement

  • It is a complete Single Page Application.
  • Using OSS riot-tab, riot-nav of iq3AddLi. Implemented view management with screen transitions.
  • Internationalized by i18next. Language automatically switches according to the language setting of the browser.
  • Rendered markdown using marked.js.
  • Not using JQuery. However, ajax is used for calling JSONP.

What info is displayed in this application?

It is a list of motorhome builder in Japan. They make cars for residence rather than camping. As far as I know. Someday I will develop from this demonstration. It might make a site handling motorhome information. I long for motorhome. Someday I'd like to make a nice motorhome I saw at Pintarest. Based on TOYOTA QuickDelivery.

How to build this project

1. Install brew

Please see here

2. Install npm

brew install npm

3. Install gulp

npm install -g gulp
npm install

4. Create .env

First, create a file named .env.

vi .env

Please provide the following information.

GOOGLE_MAP_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
GOOGLE_ANALYTICS_ID=UA-XXXXXXXXXX-X

5. Build package

gulp

or Shortcut in VSCode, Command + Shift + B.

Appendix: Web technology substitutable to iOS Framework

iOS Frameworks Web
UIAppDelegate & UIViewController riot
Interface Builder(.xib) riot .tag file
NSNotificationCenter riot-observable
UINavigationController riot-nav
UITabBarController riot-tab
NSDate & NSDateFormatter moment.js
NSLocalizedString i18next.js
Xcode VSCode
Xcode ToolChain gulp & rollup
CocoaPods npm
Auto Layout CSS
Universal Link riot-route

Technology used this time

  • riot.js
  • TypeScript
  • Rollup
  • gulp
  • i18next.js
  • marked.js
  • moment.js
  • HJson
  • Sassy CSS(SASS)

I appreciate everyone who wrote these wonderful OSS.

motorhomes.addli.jp's People

Contributors

iq3addli avatar

Watchers

 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.