A small app to log the times, when I go to sleep or get out of bed.

@peter peter authored on 17 Feb 2019
.vscode Created basis for the app: login, logout, instant logging. 5 years ago
src Created basis for the app: login, logout, instant logging. 5 years ago
style Created basis for the app: login, logout, instant logging. 5 years ago
views Created basis for the app: login, logout, instant logging. 5 years ago
.gitignore Created basis for the app: login, logout, instant logging. 5 years ago
README.md Created basis for the app: login, logout, instant logging. 5 years ago
package-lock.json Created basis for the app: login, logout, instant logging. 5 years ago
package.json Created basis for the app: login, logout, instant logging. 5 years ago
tsconfig.json Created basis for the app: login, logout, instant logging. 5 years ago
tslint.json Created basis for the app: login, logout, instant logging. 5 years ago
README.md

Goodnight

A small app to log the times, when I go to sleep or get out of bed. It serves also as a training into progressive web apps.

Dev

Install typescript and tslint globally, if you haven't aready.

npm install -g typescript tslint

Local dependencies:

npm install

Build

Compile TypeScript to JavaScript.

tsc

Executing this in the application's root folder will apply the settings from tsconfig.json.

Run

Run the application from the project's root folder.

node dist/app.js