FastAPI backend with auth, user, instance, ticket, query, dashboard APIs. React + TypeScript frontend with mock data UI (10 pages). SQLite + async SQLAlchemy, JWT auth, role-based access control. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
21 lines
425 B
TypeScript
21 lines
425 B
TypeScript
import { useState } from 'react'
|
|
import '../App.css'
|
|
|
|
export default function Home() {
|
|
const [count, setCount] = useState(0)
|
|
|
|
return (
|
|
<>
|
|
<h1>Vite + React</h1>
|
|
<div className="card">
|
|
<button onClick={() => setCount((count) => count + 1)}>
|
|
count is {count}
|
|
</button>
|
|
<p>
|
|
Edit <code>src/App.tsx</code> and save to test HMR
|
|
</p>
|
|
</div>
|
|
</>
|
|
)
|
|
}
|