Skip to content

Template Blazor Web App with Docker Compose configuration & splitting the db and the application.

License

Notifications You must be signed in to change notification settings

Draud-Egomann/BlazorWebTemplate

Repository files navigation

Blazor Web App Template

This is a template for a Blazor Web App with a Docker Compose configuration also splitting the database and the application.

Prerequisites

Project Configurations

Web

The Web project contains the Blazor Web App and is configured to use the Data project as the database context.

docker-compose

The docker-compose project contains two start profiles, docker-compose and 'DB only'. The docker-compose profile will start the application and the database, while the 'DB only' profile will only start the database.

Create Migrations

To create a migration the Data Directory must be the current Project Directory, then a migration can be created normally with

Add-Migration [Name]

Project Structure

Directory Description
Data Contains the models, interfaces and database context for the application.
docker-compose Contains the configuration for the Docker containers.
Web Contains the UI / Frontend of the application.
Tests Contains the unit and integration tests for the application.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Template Blazor Web App with Docker Compose configuration & splitting the db and the application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published