This project is a web application built with ASP.NET and Tailwind CSS.
- .NET SDK 9.0 (or later) – required to build and run the application.
- SQL Server – used as the database engine. Update
appsettings.json
with your connection string. - Node.js with npm – needed to build Tailwind CSS assets.
Install the Node dependencies first:
npm install
Build and watch the Tailwind CSS files:
npx @tailwindcss/cli -i ./Styles/input.css -o ./wwwroot/tailwind.css --watch
Apply any pending Entity Framework Core migrations and create the database:
dotnet ef database update
Run the application:
dotnet run
Create a new migration with:
dotnet ef migrations add <MigrationName>
Apply migrations to the database with:
dotnet ef database update