Kairos was a test project to explore web frameworks and toolkits. The Single-Page-Application was developped with Angular, NgRx and Angular Material.
The user interface is rather simplistic.
The application expects a small set of REST endpoints, even though I concluded that using gRPC or SignalR would better serve the needs of a cross-platform time keeping application.
Users can:
-
add, edit and track daily habits
-
add and edit tasks
-
assign tags to tasks
-
authenticate with a simple login and password combination through access tokens
This project was generated with Angular CLI version 9.0.5.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Remember to copy web.config
to the build directory, via appropriate configuration of the angular.json
file, as in:
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Angular Routes" stopProcessing="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="./index.html" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Include web.config
among the assets
node of architect/build
. This page provides additional insight.