Skip to content

jamie-taylor-rjj/2023-digital-t-level-apprentice

Repository files navigation

2023-digital-t-level-apprentice

Welcome to the main branch of this repo.

WebAPI Badges

Test coverage Build status
Code Coverage (WebApi) Build and deploy ASP.Net Core app to Azure

Please see the Glossary for descriptions of some keywords we'll be using. Also please see the Common commands for some common git commands.

You may need to get permission to install the git command line application for Windows before you can perform a lot of these actions. If you would prefer, you can install the GitHub Desktop application - this will wrap all of the git CLI commands in a UI.

This repo has some GitHub specific files (in the .github directory) which are designed to make things a little easier to manage from an infrastructure point of view. These files form the basis of some basic DevOps practises. Please note that by default this directory might be hidden from view, as it is known as a "dot directory" and by default these folders are hidden from view.

Directories

A number of directories have been created in this repo. These directories represent the standard layout for RJJ-based projects.

Tasks

Prior to this version of the repo, there was a "Tasks" section of the readme. This section has been deleted (though recoverable in source control if we need it), as the tasks have been completed.

Database

You will require the EF Core tools: dotnet tool install --global dotnet-ef

Creating the Database

Populating the database is a little janky at the moment (as of June 3rd, 2023):

  1. open a terminal at src/Invoice_Gen.Domain
  2. dotnet ef database update to apply any migrations
  3. an invoiceDatabase.db file will be created
  4. copy this to src/Invoice_Gen.WebApi
  5. run the application

Migrating the Database

  1. open a terminal at src/Invoice_Gen.Domain
  2. run dotnet ef migrations add {name} where "{name}" is the name of your migration
  3. a Migrations folder will be present and will contain the DB migration

About

A central hub repo for all work by RJJ Software's 2023 apprentice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages