/fapac1

Primary LanguageTypeScript

Purpose

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.

Project

Repo

A Git repository can be found at https://github.com/fcesc-code/fapac1.git The backend counterpart can be found at (tbd)

Tech stack

Content

Project

Code

Releases

Version Date Status Content
0.0.0 October 2021 (est.) Not released Initial version

Version 0.0.0

  1. ✔️ Initial version

Quality gate

  • 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 CodeQL

Continuous delivery

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.

Scripts

Development server

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.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma. Option npm run testAuto is provided for automated GitHub Actions.

Running end-to-end tests

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.

Code scaffolding

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.

Contributions

Philosophy

This software is currently developed 🚧 with educational purposes and is open source. The code is published in this public repository.

Issues 🔥

Do you want to suggest 💡 a new feature? Open an issue. Please, keep it short, descriptive and concise 😃

Security

Check out the how to report a vulnerability in our supported versions in the SECURITY 📖.

Credits

Assistant professor Francesc Albuera Reverté. Wherever appropriate, credit is given to author as a comment in specific file.

Author

Francesc Brugarolas, repo

Latest update: September 2021