Welcome to the Blazor Blog Project! This repository hosts a modern, responsive blog application, built using the latest Blazor Web App template. Our goal is to leverage Blazor's capabilities to deliver fast and interactive user interfaces, ensuring an engaging and seamless experience for our users.
- Blazor Web App: Utilizes the latest Blazor framework for building interactive web UIs using C# instead of JavaScript.
- Responsive Design: Ensures a smooth experience across various devices and screen sizes.
- Interactive UI: Offers dynamic user interactions with minimal latency.
Below are some screenshots showcasing the different aspects and features of the Blazor Blog Project.
The main landing page of the Blazor Blog, showing an overview of the blog's layout and design.
Continuation of the main view, displaying the latest blog posts.
The dashboard interface for managing the blog.
The section for managing blog categories.
Interface for managing individual blog posts.
The section dedicated to managing blog subscribers.
The interface for creating a new blog post.
The interface for adding a new category to the blog.
To get started with the Blazor Blog project, follow these steps:
- Install .NET 8.0 SDK or later.
- Recommended: Visual Studio 2022 or later with the ASP.NET and web development workload.
- A SQL Server instance for the database (or adjust the database provider as per your choice).
git clone https://github.com/unrealbg/BlazorBlog.git
Before running the application, you need to configure the AdminUser settings in the appsettings.json file:
"AdminUser": {
"Name": "Admin",
"Email": "[email protected]",
"Password": "Admin@123",
"Role": "Admin"
}
This step is crucial to ensure the application initializes correctly with an admin user account.
Before running the application, ensure that the database is up-to-date with the latest migrations:
-
Navigate to the Project Directory
- Go to the folder where the
*.csproj
file is located.
- Go to the folder where the
-
Update the Database
-
Run the following command to apply the latest migrations:
dotnet ef database update
-
- Navigate to the project directory.
- Run the following command:
dotnet run
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/NewFeature
) - Commit your Changes (
git commit -m 'Add some NewFeature'
) - Push to the Branch (
git push origin feature/NewFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Zhelyazko Zhelyazkov - [email protected]
Project Link: https://github.com/unrealbg/BlazorBlog