The aim of this PAC1 is to create a small site and complete basic exercises, as part of a University
Web apps and sites development Master
by Universitat Oberta de Catalunya.
Subject: Advanced Frameworks. September 2021.
A Git repository can be found at https://github.com/fcesc-code/fapac1.git The backend counterpart can be found at (tbd)
- Angular framework
- Angular CLI
- RxJS library for reactive programming with Angular
- Typescript
- Jasmine test framework
- Karma test runner
- Protractor e2e testing in Angular
- sass
- GitHub
- GitHub Actions for automated testing in continuous delivery
- GitHub native Dependabot for security alerts
- GitHub codeQL for code scanning alerts
- sonarqube
- VSCode
- WSL Windows Subsystem for Linux (ubuntu 20)
- HTML
- YAML for GitHub actions
Version | Date | Status | Content |
---|---|---|---|
0.0.0 | October 2021 (est.) | Not released | Initial version |
- ✔️ Initial version
- HTML Validator: x errors | x warnings \
- CSS Validator: x errors | x warnings \
- Karma: xx/xx tests passed (branch not merged) | Coverage: \
statements branches lines functions x.x% x.x% x.x% x.x% - Sonarqube: x bugs | x0 code smells | x vulnerabilities | x security hotspots | x% code duplication (excluding duplicated API file requested to separate deliverables) \
- GitHub codeQL: 0 security alerts
Automated testing in every pull request or merge to the main branch. Automated code scanning to measure code quality, pull requests cannot be merged if quality is not met. Automated security alerts for the repository.
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.
Alternatively, run npm start
.
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.
Option npm run testAuto
is provided for automated GitHub Actions.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
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
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
This software is currently developed 🚧 with educational purposes and is open source. The code is published in this public repository.
Do you want to suggest 💡 a new feature? Open an issue. Please, keep it short, descriptive and concise 😃
Check out the how to report a vulnerability in our supported versions in the SECURITY 📖.
Assistant professor Francesc Albuera Reverté. Wherever appropriate, credit is given to author as a comment in specific file.
Francesc Brugarolas, repo
Latest update: September 2021