Skip to content
@wegger-BDSA2021

Wegger

Github organization for the BDSA 2021 project at IT University of Copenhagen. Made for educational purposes.

Introduction to Wegger

SonarCloud

The purpose of this organization is for educational purposes solely. The goal of the BDSA 2021 project is to implement a vertical slice of the SE Training project.

To read more about the project, see the official description.

The project is licensed under GPL FLOSS.

Running the system

Prerequisites

The system and all its parts must be run on windows 10 using WSL2 with Ubuntu 18.04 or newer versions. Make sure to have your Docker Daemon running prior to executing the following scripts. In addition, ports 1433 , 8080 , and 6001 must all be free.

You must have dotnet 5.0 sdk and aspnet 5.0 sdk installed along with the dotnet user-secrets tool.

Running the web API and MSSQL server:

Clone the repository,

git clone https://github.com/wegger-BDSA2021/webapi.git && cd webapi/scripts/

Then,

bash run

Or,

chmod +x run

and then,

./run

This will spin up both the web API and the MSSQL server in two seperate containers.
OBS: The connectionstring has been hardcoded to use the IPv4 address of the MSSQL container 172.17.0.2 - please make sure, that this is the correct address in your own docker setup. If not, edit the connectionstring in the run script.

The script will automatically lauch the Swagger interface in the default browser of the host machine, when the containers have been run.

Running the Blazor Server application

Make sure to have the web API and MSSQL containers up and runnig before starting the Blazor Server.

Clone the repository,

git clone https://github.com/wegger-BDSA2021/blazorApp.git && cd blazorApp

Then,

dotnet run

Cleaning up

To kill the running containers and remove the API image (the MSSQL image will remain), run the cleanup script situated in the scripts folder of the web API repository.

./cleanup

For stakeholders 💸

In order to establish transparency in the process, stakeholders can keep track of the quality of the code with static code analysis reports at SonarCloud.

webAPI

  • Security Rating
  • Coverage
  • Bugs
  • Lines of Code
  • Code Smells
  • Technical Debt

Additionally, stakeholders can go to the projects overview to get an overview of work in progress.

Workflow strategy for repositories 🛠

Git Flow strategy

All repositories in the project use the Git Flow strategy for the version control workflow. Please follow the instructions below before contributing any code to any of the repositories within the Wegger organisation.

  • Main only reflects the most current production ready state of the source code. The CD pipeline will deploy main to production upon merging with main. Only hotfix branches and the development branch may be merged into main - this can only be done via pull requests.
  • Development reflects the latest development for the next release.
  • Feature branches is to checked out from development (or another feature branch based on the preferences of the developer) and may only be merged into develop using pull requests. Before submitting a pull request, it is recommended to pull the latest version of remote development to your local environment and then merge it with your local feature branch. The name of the feature branch should be featurename_feature.
  • Hotfix branches are for fixing bugs quickly that are already in production. Pull the latest version of main to your local machine, checkout a new branch, fix the bug, commit it locally, set the hotfix branch to track upstream, push it, and submit a pull request via github. Remember to merge the hotfix branch into develop as well. The name of the hotfix branch should be bug name_hotfix.
  • (Release branches will not be utilised for such a small project)

Pinned Loading

  1. webapi webapi Public

    AspNet webAPI for the SE Training project - made for educational purposes. 🔬

    C#

  2. blazorApp blazorApp Public

    HTML

Repositories

Showing 4 of 4 repositories
  • webapi Public

    AspNet webAPI for the SE Training project - made for educational purposes. 🔬

    wegger-BDSA2021/webapi’s past year of commit activity
    C# 0 0 0 0 Updated Aug 18, 2022
  • .github Public

    Profile customization of the organisation overview

    wegger-BDSA2021/.github’s past year of commit activity
    0 0 0 0 Updated Dec 21, 2021
  • blazorApp Public
    wegger-BDSA2021/blazorApp’s past year of commit activity
    HTML 0 0 0 0 Updated Dec 13, 2021
  • wegger-BDSA2021/parser_console’s past year of commit activity
    C# 0 0 0 0 Updated Nov 30, 2021

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…