Packages/modules used are all available in package.json
.
- Install all
npm
modules
npm install
- There are two configured scripts for building the project's assets:
-
Building for development
Will build all files to
build
folder, and keep awatch
active, listening for changesnpm run dev
-
Building for production
This will clean
build
folder and compile everything in hashed files for optimized caching purposesnpm run build
- Open
index.html
file from inside ofbuild
folder, NOT the one from the project root, as it will not work. The file is injected with the compiled file names according to the option chosen above and the appropriate hases (if any).
As requested to use SQLite, this app uses WebSQL, available in many browsers (though deprecated).
Angular files (controllers, services, directives) are following as closely as possible johnpapa's style guide for Angular 1.
Although the framework used (Angular Material) supports responsiveness, this app is solely designed for mobile experiences. So I recommend viewing on a smartphone or simulating with browsers' mobile tools.