Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
/ super-unimia Public archive

[2023 unimi] Final project for "Basi di dati" (database) course at unimi. Web app and database to manage exams registrations and results. Built with Postgres and PHP.

License

Notifications You must be signed in to change notification settings

Favo02-unimi/super-unimia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super-Unimia

"Basi di dati" final exam assignment.

Deployed (automatically) at superunimia.favo02.dev.

Documentazione

In italian:

Workflow

Branching Strategy

Commit convention

No branches, all on main.

Commit Convention

Commit convention

Each commit message consists of a header, a body, and a footer.

<header>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>

Commit Message Header

<project part>(<scope>): <short summary>
  │       │             │
  │       │             └─⫸ Summary in present tense. Not capitalized. No period at the end.
  │       │
  │       └─⫸ Commit Scope: segretario|docente|studente|tables|procedures|functions|triggers|dump|scripts|css
  │
  └─⫸ Commit project part: repo|docs|db|web
Project part

Must be one of the following:

  • repo: changes to the repository (ci, readme, gitignore, ...)
  • docs: changes to documentation
  • db: database
  • web: webapp
Scope

The scope is the part of the codebase where the changes happened and it can be one of the following:

  • segretario: webapp segretario user pages
  • docente: webapp docente user pages
  • studente: webapp studente user pages
  • tables: database tables
  • procedures: database procedures
  • functions: database functions
  • triggers: database triggers
  • dump: database dump
  • scripts: webapp scripts
  • css: webapp css
  • If a commit changes multiple parts of the codebase then an * sign can be used as the scope specifier.

Commit Message Body

  • Use imperative, present tense: “change” not “changed” nor “changes”.

  • Include motivation for the change and contrasts with previous behavior.

Commit Message Footer

All breaking changes have to be mentioned in footer with the description of the change, justification and migration notes (e.g. BREAKING CHANGE: desc...).

  • If a commit targets a specific issue, the issue_id must be specified in the footer e.g. Closes #123, in case of multiple issues Closes #123, #124, #125.

Issues: bugs report, feature ideas

Issues: bugs report, feature ideas

Issues can be opened for everything that has to do with the program, from asking questions to requesting new fetures or bug-fixes.

Issues should describe and include each of the following components:

  • A priority label
    • priority: 0Highest
    • priority: 1
    • priority: 2
    • priority: 3
    • priority: 4Lowest
  • A type label
    • feature: new feature to be implemented
    • bug: bug to be fixed
    • idea: an idea for a future update (not strictly required as a feature)

Versioning and deploying

Versioning and deploying

Versioning

No versioning (fuck vanilla PHP).

Deploying

Every time a new version is bumped, the serve workflow will be triggered, generating a new Docker image for the application and serving it at superunimia.favo02.dev.

About

[2023 unimi] Final project for "Basi di dati" (database) course at unimi. Web app and database to manage exams registrations and results. Built with Postgres and PHP.

Topics

Resources

License

Stars

Watchers

Forks