8429db504a
- New /stocks route with StockViewer component - New /api/indicators endpoint with SMA, EMA, RSI, MACD - New /api/alpaca/account endpoint - AlpacaAccountInfo component on home page - Indicator calculation utilities - Tests for utilities and components - Vite proxy config for /api
22 lines
506 B
TypeScript
22 lines
506 B
TypeScript
import type { Route } from "./+types/home";
|
|
import { Welcome } from "../welcome/welcome";
|
|
import AlpacaAccountInfo from "../components/AlpacaAccountInfo";
|
|
|
|
export function meta({}: Route.MetaArgs) {
|
|
return [
|
|
{ title: "New React Router App" },
|
|
{ name: "description", content: "Welcome to React Router!" },
|
|
];
|
|
}
|
|
|
|
export default function Home() {
|
|
return (
|
|
<>
|
|
<Welcome />
|
|
<div className="container mx-auto p-4 max-w-2xl">
|
|
<AlpacaAccountInfo />
|
|
</div>
|
|
</>
|
|
);
|
|
}
|