项目作者: soulofmischief

项目描述 :
A scalable, reactive example progressive messaging app integrating FeathersJS, Flow, Mithril, Webpack 4, and Babel.
高级语言: JavaScript
项目地址: git://github.com/soulofmischief/feathers-mithril-webpack-pwa-starter.git
创建时间: 2018-10-16T03:23:03Z
项目社区:https://github.com/soulofmischief/feathers-mithril-webpack-pwa-starter

开源协议:MIT License

下载


feathers-mithril-webpack-pwa-starter

A scalable, reactive example progressive messaging app.

About

This progressive web application serves as an example integration of Feathers, Flow, Mithril, Webpack 4, and Babel.

Getting Started

Prerequisites

  1. Install NodeJS and Yarn.

  2. Install project dependencies and run post-install scripts: yarn install:all

Development

  1. Start the Feathers API server: yarn server:dev

  2. Start the client development server in another terminal window: yarn client:dev

Production

  1. Build the Feathers API server: yarn server:build

  2. Run the production server: yarn server:production

  3. Build the client: yarn client:build

  4. Host and navigate to dist/client

Testing

Simply run npm test and all your tests in the test/ directory will be run.

Tips

Flow

Keep Flow types up to date

After adding new packages with yarn, run yarn update:flow to keep flow types up to date with the flow-typed community repository.

Feathers

Scaffolding

Feathers has a powerful command line interface. Here are a few things it can do:

  1. $ yarn global add @feathersjs/cli # Install Feathers CLI
  2. $ feathers generate service # Generate a new Service
  3. $ feathers generate hook # Generate a new Hook
  4. $ feathers generate model # Generate a new Model
  5. $ feathers help # Show all commands

License

© soulofmischief 2018

Licensed under the MIT license.