Giter Club home page Giter Club logo

douglaskent's Introduction

Douglas Kent Resume

This project is bootstrapped by aurelia/new.

Start dev web server

npm start

Build the app in production mode

npm run build

It builds dist/*bundle.[hash].js, updates index.html with hashed js bundle file name. then the hash will change. So to deploy to the production server, be sure to copy the generated index.html and dist/*. Otherwise those files will not have changed and will need not be redeployed.

To deploy everything, copy to production root folder:

base.css
favicon.ico
dist/index.html
dist/assets

Clear tracing cache

In rare situation, you might need to run clear-cache after upgrading to new version of dumber bundler.

npm run clear-cache

index.html

dist/index.html is generated from index.html every time npm run build runs.

App data flow

There is a certain flow in the app in terms of how the UI gets data delivered to it. The views communicate with stores and the stores communicate with services.

  • Views are the UI of the app. Stores are injected into the views and the views can call data from the stores. Views are supposed to be in charge of any formatting of data on the UI. (currency, numbers, strings, etc.)
  • Stores are the middle layer between the view (UI) and the services (Backend). Services are injected into stores and stores call the services needed to retrieve the data. Stores are also where the business logic (any data alteration needed) and data caching reside.
  • Services are the back end of the app that actually call the contracts and databases. This is the layer that returns the raw data from external services (contracts/firebase/etc.)

douglaskent's People

Contributors

dkent600 avatar

Watchers

 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.