From 51a728457a0f0e8c97155649fdd50843adb773cc Mon Sep 17 00:00:00 2001 From: root Date: Wed, 9 Jul 2025 10:27:02 +0200 Subject: [PATCH] Initial Next.js 15 app setup with TypeScript, Tailwind, ESLint, Turbopack, and API support. Project ready for migration. --- .github/copilot-instructions.md | 3 ++ .vscode/tasks.json | 14 ++++++++ README.md | 57 +++++++++++++-------------------- 3 files changed, 40 insertions(+), 34 deletions(-) create mode 100644 .github/copilot-instructions.md create mode 100644 .vscode/tasks.json diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..2889625 --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,3 @@ + + +This project is a Next.js 15 App Router application with TypeScript, Tailwind CSS, Prisma, and API routes. It is a trading bot dashboard with AI-powered analysis, auto-trading, trade execution, screenshot capture, and developer settings. Please generate code that is idiomatic for this stack and follows best practices for modern Next.js apps. diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..7340251 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,14 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "shell", + "label": "Build Next.js app", + "command": "npm run build", + "group": "build", + "problemMatcher": [ + "$tsc" + ] + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 4f3cc28..a366aec 100644 --- a/README.md +++ b/README.md @@ -1,40 +1,29 @@ -This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/create-next-app). +# Trading Bot v3 + +This project is a Next.js 15 App Router dashboard for automated trading, AI-powered analysis, and developer tools. It uses TypeScript, Tailwind CSS, Prisma, and provides API endpoints for trading, analysis, and automation. + +## Features +- Modern Next.js 15 App Router architecture +- TypeScript, Tailwind CSS, ESLint, Turbopack +- API routes for trading, analysis, screenshots, and automation +- Ready for integration with Prisma, OpenAI, TradingView, and Solana/Drift ## Getting Started -First, run the development server: +1. Install dependencies: + ```bash + npm install + ``` +2. Run the development server: + ```bash + npm run dev + ``` +3. Open [http://localhost:3000](http://localhost:3000) in your browser. -```bash -npm run dev -# or -yarn dev -# or -pnpm dev -# or -bun dev -``` +## Customization +- Add your business logic, UI components, and database schema as needed. +- See `.github/copilot-instructions.md` for Copilot guidance. -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. +--- -You can start editing the page by modifying `app/route.ts`. The page auto-updates as you edit the file. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. - -## API Routes - -This directory contains example API routes for the headless API app. - -For more details, see [route.js file convention](https://nextjs.org/docs/app/api-reference/file-conventions/route). +This project is ready for migration of your trading bot logic and UI from v2.