This project is a full-stack application demonstrating ML.NET, ASP.NET Core, EF Core, and a React frontend.
- .NET 8 SDK
- Node.js (with npm)
- SQL Server LocalDB
-
Start the Backend (ASP.NET Core):
- Open a terminal at the repository root.
- Navigate to the API project:
cd backend/Cipher.Api - Start the API:
dotnet run - The API will be available at
http://localhost:7200.
-
Run EF Migrations (if needed):
- Migrations are applied automatically on startup.
- To create new migrations, see
backend/BUILD.md.
-
Start the Frontend (Vite):
- Open a second terminal at the repository root.
- Navigate to the UI project:
cd frontend/cipher-ui - Install dependencies:
npm install - Start the development server:
npm run dev - The UI will be available at
http://localhost:5173.
- Open the application in your browser.
- Click Generate Training Data.
- Click Train Model.
- Click Generate Classification Data.
- Select the newly trained model from the dropdown.
- Click Run Classification.
- The top 10 results will be displayed in the table.
Each step should provide a successful response, which you can verify in the browser's developer console.