Initial Next.js 15 app setup with TypeScript, Tailwind, ESLint, Turbopack, and API support. Project ready for migration.
This commit is contained in:
3
.github/copilot-instructions.md
vendored
Normal file
3
.github/copilot-instructions.md
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<!-- Use this file to provide workspace-specific custom instructions to Copilot. For more details, visit https://code.visualstudio.com/docs/copilot/copilot-customization#_use-a-githubcopilotinstructionsmd-file -->
|
||||
|
||||
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.
|
||||
14
.vscode/tasks.json
vendored
Normal file
14
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "Build Next.js app",
|
||||
"command": "npm run build",
|
||||
"group": "build",
|
||||
"problemMatcher": [
|
||||
"$tsc"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
57
README.md
57
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.
|
||||
|
||||
Reference in New Issue
Block a user