https://github.com/unrealbg/blazorblog
This repository contains the Blazor Blog project, built using the latest Blazor Web App template. The goal is to create a modern, responsive blog leveraging the capabilities of Blazor for fast and interactive user interfaces.
https://github.com/unrealbg/blazorblog
asp-net-core blazor blazor-web-app csharp dotnet serverside-rendering web-development
Last synced: 3 months ago
JSON representation
This repository contains the Blazor Blog project, built using the latest Blazor Web App template. The goal is to create a modern, responsive blog leveraging the capabilities of Blazor for fast and interactive user interfaces.
- Host: GitHub
- URL: https://github.com/unrealbg/blazorblog
- Owner: unrealbg
- License: mit
- Created: 2023-11-26T14:21:09.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-10T20:43:45.000Z (3 months ago)
- Last Synced: 2025-03-18T04:46:20.094Z (3 months ago)
- Topics: asp-net-core, blazor, blazor-web-app, csharp, dotnet, serverside-rendering, web-development
- Language: CSS
- Homepage:
- Size: 4.16 MB
- Stars: 12
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Blazor Blog Project
## Overview
Welcome to the Blazor Blog Project! This repository hosts a modern, responsive blog application, built using the latest [Blazor Web App](https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor) 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.
## Features
- **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.## Screenshots
Below are some screenshots showcasing the different aspects and features of the Blazor Blog Project.
### Main View

*The main landing page of the Blazor Blog, showing an overview of the blog's layout and design.*### Recent Posts

*Continuation of the main view, displaying the latest blog posts.*### Dashboard

*The dashboard interface for managing the blog.*### Manage Categories

*The section for managing blog categories.*### Manage Blog Posts

*Interface for managing individual blog posts.*### Manage Subscribers

*The section dedicated to managing blog subscribers.*### Create a New Blog Post

*The interface for creating a new blog post.*### Create a New Category

*The interface for adding a new category to the blog.*## Getting Started
To get started with the Blazor Blog project, follow these steps:
### Prerequisites
- Install [.NET 8.0 SDK](https://dotnet.microsoft.com/download/dotnet/8.0) 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).### Clone the Repository
```bash
git clone https://github.com/unrealbg/BlazorBlog.git
```## Configure Admin User
Before running the application, you need to configure the AdminUser settings in the appsettings.json file:
```bash
"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.## Database Migrations
Before running the application, ensure that the database is up-to-date with the latest migrations:
1. **Navigate to the Project Directory**
- Go to the folder where the `*.csproj` file is located.2. **Update the Database**
- Run the following command to apply the latest migrations:```bash
dotnet ef database update
```### Run the Application
- Navigate to the project directory.
- Run the following command:
```bash
dotnet run
```## Contributing
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!
1. **Fork the Project**
2. **Create your Feature Branch** (`git checkout -b feature/NewFeature`)
3. **Commit your Changes** (`git commit -m 'Add some NewFeature'`)
4. **Push to the Branch** (`git push origin feature/NewFeature`)
5. **Open a Pull Request**## License
Distributed under the MIT License. See `LICENSE` for more information.
### Contact
Zhelyazko Zhelyazkov - [[email protected]](mailto:[email protected])Project Link: [https://github.com/unrealbg/BlazorBlog](https://github.com/unrealbg/BlazorBlog)