Open Time Registration Application
This code is deployed to GitHub Pages.
Website is available here.
In the project directory, you can run:
-
npm start
Runs the app in the development mode.
Open https://localhost:4200 to view it in the browser. The page will reload if you make edits.
You will also see any lint errors in the console. -
npm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information. -
npm run build
Builds the app for production to thebuild
folder.
It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.
Your app is ready to be deployed!See the section about deployment for more information.
-
npm run eject
Note: this is a one-way operation. Once youeject
, you can’t go back! If you aren’t satisfied with the build tool and configuration choices, you caneject
at any time. This command will remove the single build dependency from your project.
To parse work log expression pegjs
library is used.
Grammar is defined in file workLogExpressionParser/WorkLogEntryGrammar.pegjs
.
After each change it's necessary to generate js
file. To do so you should execute command
npm run generate-parser
After that you have to add import moment from 'moment';
at the very top of generated file and suppress ts errors.