Prompt Details
Model
(claude-4-7-opus)
Token size
437
Example input
[project_name]: DSD wbside
[core_features]: webpage about selling engines and car parts
[target_audience]: fullstack developers
Example output
Project Overview
MDE is a Polish e-commerce web application built for full-stack .NET developers to deploy and extend a production-ready storefront for diesel engine parts and commercial vehicle components. It targets workshops and fleet operators running vehicles such as the Iveco Daily, Fiat Ducato, CitroΓ«n Jumper, and Peugeot Boxer. The project solves the gap between a generic CMS and a bespoke parts catalog by providing a typed, database-backed catalog with a built-in admin panel β ready to extend without starting from scratch.
Key Features
Browse and purchase diesel engine parts through a fast, category-driven product catalog tailored to commercial vehicle makes and models.
Manage inventory without writing code via a Blazor Server admin panel with real-time UI updates and full CRUD over products and orders.
Zero-friction local setup thanks to SQLite in development β no Docker, no external database process required to get running.
Consistent, maintainable UI powered by Tailwind CSS v4 with a design system derived from the MDE brand, replacing Bootstrap entirely.
Secure admin access with seeded credentials, session-based authentication, and a dedicated login flow isolated from the public storefront.
Production-ready architecture with clean separation between the MVC public frontend and the Blazor admin area, making deployment and scaling straightforward.
Tech Stack
TechnologyPurposeASP.NET Core 9 (MVC)Public-facing storefront β Razor Views, routing, controllersBlazor ServerAdmin panel β interactive components with server-side stateEntity Framework Core 9ORM β database access, migrations, seedingSQLiteLocal development database (file-based, zero config)PostgreSQLProduction database targetTailwind CSS v4 (standalone CLI)Utility-first styling β installed via winget, compiled to wwwroot/css/output.cssAlpine.jsLightweight JS behaviour (navbar collapse, dropdowns) β replaces Bootstrap JSBootstrap IconsIcon font (CDN) β retained independently of Bootstrap CSSC# / .NET 9Application language and runtime
Getting Started
Prerequisites
.NET 9 SDK
Node.js (optional β only if you prefer the npm Tailwind CLI over the standalone binary)
Tailwind CSS v4 standalone CLI β install via winget:
powershellwinget install TailwindLabs.TailwindCSS
After installation, open a new terminal session so the tailwindcss binary is on your PATH.
Installation
Clone the repository
bashgit clone https://github.com/your-org/MarciniakWebpage.git
cd MarciniakWebpage
Create the development config file
The file appsettings.Development.json is gitignored and must be created manually:
json{
"ConnectionStrings": {
"DefaultConnection": "Data Source=mde_dev.db"
},
"Admin": {
"DefaultPassword": "your-local-admin-password"
}
}
Restore .NET dependencies
bashdotnet restore
Apply database migrations
bashdotnet ef database update
On first run, SeedData.cs will automatically create the default admin user using the password from appsettings.Development.json.
Run the Project
bashdotnet watch run
The TailwindHostedService embedded in Program.cs will automatically launch tailwindcss --watch alongside the application. The compiled stylesheet is written to wwwroot/css/output.css.
The application starts at https://localhost:5001 by default.
The admin panel is available at /admin.
Usage
Navigate to the admin panel to add your first product:
https://localhost:5001/admin
Log in with the seeded admin credentials, then use the Products section to create a new listing:
csharp// Example: Adding a product via EF Core directly in a seed or migration
context.Products.Add(new Product
{
Name = "Filtr oleju Iveco Daily 2.3 HPI",
PartNumber = "504179764",
Category = "Filtry",
Price = 49.99m,
Stock = 120,
Compatible = new[] { "Iveco Daily", "Fiat Ducato 2.3" }
});
await context.SaveChangesAsync();
The Blazor admin panel reflects inventory changes in real time without a page reload. The public MVC storefront reads from the same database and renders product listings, category filters, and part compatibility tables server-side via Razor Views.
Project Structure
MarciniakWebpage/
βββ Components/ # Blazor Server app host and admin components
β βββ App.razor
β βββ Routes.razor
β βββ Pages/
β βββ Admin/
β β βββ Dashboard.razor
β β βββ Products.razor
β β βββ Orders.razor
β βββ Shared/
β βββ AdminLayout.razor
βββ Controllers/ # MVC controllers for the public storefront
β βββ HomeController.cs
β βββ ProductsController.cs
β βββ AccountController.cs
βββ Data/
β βββ AppDbContext.cs
β βββ SeedData.cs
βββ Models/
β βββ Product.cs
β βββ Order.cs
β βββ ViewModels/
β βββ LoginViewModel.cs
β βββ ProductListViewModel.cs
βββ Views/ # Razor Views for the public MVC frontend
β βββ Shared/
β β βββ _Layout.cshtml
β β βββ _Navbar.cshtml
β β βββ _Footer.cshtml
β βββ Home/
β β βββ Index.cshtml
β βββ Products/
β β βββ Index.cshtml
β β βββ Detail.cshtml
β βββ Account/
β βββ Login.cshtml
βββ wwwroot/
β βββ css/
β β βββ input.css # Tailwind source β edit this
β β βββ output.css # Compiled output β gitignored
β β βββ site.css # Global custom styles
β βββ js/
β β βββ site.js
β βββ images/
βββ appsettings.json
βββ appsettings.Development.json # Gitignored β create manually (see Getting Started)
βββ Program.cs # App entry point + TailwindHostedService
βββ MarciniakWebpage.csproj
Contributing
Contributions are welcome β whether that's fixing a bug, improving the UI, or adding new catalog features. Before opening a pull request, please create an issue first so we can discuss the change and avoid duplicated effort. Fork the repository, work on a feature branch, and submit a PR against main with a clear description of what was changed and why. All contributions should follow existing naming conventions and include a brief test or manual verification step in the PR description.
By purchasing this prompt, you agree to our terms of service
CLAUDE-4-7-OPUS
Bad READMEs cost you contributors, users, and credibility. This prompt generates a complete, professional README.md from just your project name, features, and audience β including badges, tech stack table, install guide, usage examples, and directory tree.
πΉ Full README in one run
β
Tech stack auto-inferred
π Realistic directory structure
π Install & usage examples included
π― Tone matched to your audience
...more
Added 1 week ago
