The LifeDots project is a Blazor application designed to visualize the remaining weeks of a user's estimated lifespan as colored dots. This application is built using Blazor (.NET-Platform).
The project is structured into several key components:
- ICounterHandler.cs: Interface for handling counter logic.
- IDotColorizer.cs: Interface for managing the logic of coloring dots based on user data.
- IDotGenerator.cs: Interface responsible for generating the dot visualization.
- IHomeService.cs: Interface for managing home page services.
- IMessageService.cs: Interface for handling message services within the application.
- Home.razor: The main page of the application, where the dot visualization is rendered.
- Home.razor.cs: Code-behind for
Home.razor
handling logic and interactions.
- CounterHandler.cs: Implementation of the
ICounterHandler
interface, managing the counting logic. - DotColorizer.cs: Implementation of the
IDotColorizer
interface, providing the logic for coloring dots. - DotGenerator.cs: Implementation of the
IDotGenerator
interface, responsible for generating the dots based on user input. - HomeService.cs: Implementation of the
IHomeService
interface, managing services related to the home page. - MessageService.cs: Implementation of the
IMessageService
interface, providing messaging capabilities within the app.
- Program.cs: The entry point of the application, configuring services and the app's request pipeline.
-
Create a new directory and navigate into it:
mkdir LifeDotsProject cd LifeDotsProject
-
Clone the repository:
git clone https://github.com/rudolphreti/LifeDots-Blazor cd LifeDots-Blazor
-
Open the project in Visual Studio:
- Open Visual Studio.
- Click on Open a project or solution.
- Navigate to the cloned repository folder LifeDots-Blazor and open the .sln file.
- Press F5 to run the project.
- Service for loading message content, e.g. from a JSON file
- Support for multiple languages
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License - see the LICENSE file for details.
Thanks to the Blazor and .NET communities for their support and resources!