Section 1 complete (tasks 1.1-1.7): - .NET 8 solution with 8 projects (Common, Basic, Database, Logic, Api, Backend, Migration, Tests) and correct dependency graph - NuGet deps: MySqlConnector, NBitcoin, Microsoft.Extensions.Hosting, xunit, coverlet - Common layer: IHasIdentity, enums (Permission, FinancialAccountType, DocumentType, CryptoChain, ExpenseClaimStatus, InvoiceStatus, PayoutStatus, FinancialDependencyType) - React + TypeScript + Vite frontend with MUI, react-router, react-i18next - Localization: EN, SV, DE translation files - Vite builds to src/UsingCash.Api/wwwroot for static serving - Multi-stage Dockerfile: Node build + .NET build -> aspnet runtime - Gitea Actions CI: build, test, lint, Docker image - appsettings.json with read/write/admin DB credential structure Also updates data-migration spec/design for mysqldump-based workflow. Made-with: Cursor
28 lines
731 B
TypeScript
28 lines
731 B
TypeScript
import { Routes, Route } from 'react-router-dom'
|
|
import { Typography, Container, Box } from '@mui/material'
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
function Dashboard() {
|
|
const { t } = useTranslation()
|
|
return (
|
|
<Container maxWidth="lg">
|
|
<Box sx={{ mt: 4 }}>
|
|
<Typography variant="h3" gutterBottom>
|
|
{t('dashboard.title', 'using.cash')}
|
|
</Typography>
|
|
<Typography variant="body1" color="text.secondary">
|
|
{t('dashboard.subtitle', 'Accounting made simple.')}
|
|
</Typography>
|
|
</Box>
|
|
</Container>
|
|
)
|
|
}
|
|
|
|
export default function App() {
|
|
return (
|
|
<Routes>
|
|
<Route path="/*" element={<Dashboard />} />
|
|
</Routes>
|
|
)
|
|
}
|