Blazor WebAssembly codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
This codebase was created to demonstrate a fully fledged fullstack application built with Blazor WebAssembly including CRUD operations, authentication, routing, pagination, and more.
We've gone to great lengths to adhere to the Blazor WebAssembly community styleguides & best practices.
For more information on how to this works with other frontends/backends, head over to the RealWorld repo.
This application is written according to the RealWorld frontend spec using Blazor WebAssembly. Following Blazor best practices, I decided to rely heavily on Fluxor utilizing redux throughout the application. For those new to Blazor, I would suggest reading the getting start docs from Microsoft before jumping into the codebase.
- Clone/fork this repository
- Ensure you have the latest version of the .NET Core SDK installed (make sure you have the version used within
global.json
) cd
into theBlazorConduit.Client
project folder and rundotnet watch run
- The application should now be serving to
https://localhost:5001
I use cypress for integration and end-to-end testing, with plans of eventually adding bUnit tests at some point. To run the tests:
cd
into the test projectBlazorConduit.Integration.Tests
- Ensure you have
npm
installed - Run
npm install --save-dev
- Cypress should now be installed, fire it up with
npx cypress open
from within the test project directory - In the cypress window, you should now see all the spec files and be able to run them