Frontend javascript application for Project Completion System (ProCoSys)
- NodeJS - https://nodejs.org/en/
- Yarn Pkg - https://yarnpkg.com/lang/en/
- Docker - https://www.docker.com/ (Only if you want to test production environment)
Duplicate the settings.template.json
file and rename to settings.json
.
Fill in the blanks from you Azure AD or any other provider supported by MSAL.js
$ yarn install
$ yarn start
yarn start
- Starts the dev environment with hot reloading
yarn test
- runs the test suite
yarn test-watch
- continual re-testing when files change
docker-compose up
This starts the application in a production like environment.
$ docker build --force-rm -t pcs:latest -f .docker/Dockerfile .
$ docker run -it -p 80:80 pcs:latest
https://github.com/AzureAD/microsoft-authentication-library-for-js
Testing Framework
https://github.com/kulshekhar/ts-jest
For running tests with Typescript and Typechecking
https://testing-library.com/docs/react-testing-library/api
For abstraction of boilerplate code when testing and test helper functions
General component styling
https://www.styled-components.com
Better code quality and easier transition for developers coming from a typed language.
Building the application
Used to define which browsers we support, as well as integrate with polyfill loading in CSS and Babel.