Giter Site home page Giter Site logo

webapplate's Introduction

project logo

Webapplate Build Status Coverage Status

A Mobile First, full stack WebApp template that help you quickly start the maintainable mobile web app development.

                __                      __      __
 _      _____  / /_  ____ _____  ____  / /___ _/ /____
| | /| / / _ \/ __ \/ __ `/ __ \/ __ \/ / __ `/ __/ _ \
| |/ |/ /  __/ /_/ / /_/ / /_/ / /_/ / / /_/ / /_/  __/
|__/|__/\___/_.___/\__,_/ .___/ .___/_/\__,_/\__/\___/
                       /_/   /_/

current version: v1.0.0

Webapplate provide a ready-to-deploy project bootstrap settings for both hosted (dynamic/static website) and packaged (no server) webapp , with convention of file structure, express server-side support, and preconfigured helper tools like appcache generator, multi-locales and testframework.

Website inherit from Webapplate can be deployed to any host provider.

Demos

Here are some examples that start the development by webapplate:

  • UI Demos , which is on Firefox Marketplace before Firefox OS device officially release.
  • FxOS BMI , the BMI calculator demo, with offline support. Source is available.
  • bgzla, Bugzilla monitor for Gaia project

Get Webapplate

Go to https://github.com/gasolin/webapplate website, click 'ZIP' button to download nodera template.

or you can use git command to clone Webapplate:

git clone https://github.com/gasolin/webapplate.git

Usage

Setup

  1. install node.js

  2. To fetch dependent packages, enter the webapplate folder and run

     $ npm install -g grunt-cli bower
     $ npm install
    

Develop Hosted webapp(With dynamic/static web Server)

  1. To start the server, run

     $ node app.js
    

Now you can open browser and see the web page at localhost:8000 .

The default page is stored in /publish/index.html. Read Syntax doc to learn plenty of sensible defaults.

  1. To autotest and generate appcache for offline usage, run

     $ grunt
    

All magics are well integrated and configurable in webapplate.

Develop Packaged webapp (No Server)

just drag /public/index.html into browser. Or select /public/manifest.webapp in Firefox OS Simulator.

Plus webapplate enable you to genergate the packaged webapp via command:

$ grunt pack

Read Deployment doc for further configurations.

Generate static webapp (Server independent - experimental)

Generate minimized static web app

$ grunt static

Do JavaScript lint check and generate document

$ grunt docs

Features

  1. HTML5 Mobile Web App support in mind: Mobile friendly templates based on Mobile Boilerplate, MIME types, favicons and webapp manifest (Firefox OS).

  2. WebApp ready: provide every elements that needs to apply your webapp to Firefox Marketplace, and provide Firefox webapp install detection script for self hosting.

  • Support add WebApp to Homescreen from Chrome and Saffari mobile.
  • Also provide the manifest file for Chrome App to Chrome Store.
  1. Dynamic Server-side support based on express: Provide grade A speed web server/client configuration in yslow measurement.

  2. Support offline appcache and packaged webapp generator via grunt.js that make offline webapp support easier.

  3. multi-locales support via l20n

  4. Integrate unittest with browser via mocha JS test framework

Read Documentation at https://github.com/gasolin/webapplate/wiki.

License

The MIT License

Credit: developers and designers from node.js, express, grunt.js, Firefox OS, font-awesome, bower, and people who involved in improving Web technologies.

webapplate's People

Contributors

gasolin avatar

Watchers

Brayan Cruces 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.