realtime-hackernewsdb-on-serverless
所属分类:GPT/ChatGPT
开发工具:TypeScript
文件大小:138KB
下载次数:0
上传日期:2023-04-19 09:45:48
上 传 者:
sh-1993
说明: 聊天查询黑客新闻数据库,基于Auto GPT和TiDB Cloud无服务器数据库
(Chat to query Hacker News database, based on Auto-GPT and TiDB Cloud
Serverless Database
,)
文件列表:
.eslintrc.json (312, 2023-04-07)
LICENSE (11357, 2023-04-07)
next-pino (0, 2023-04-07)
next-pino\logger.ts (1025, 2023-04-07)
next.config.js (726, 2023-04-07)
package.json (1335, 2023-04-07)
pages (0, 2023-04-07)
pages\_app.tsx (1042, 2023-04-07)
pages\_document.tsx (282, 2023-04-07)
pages\about.mdx (2061, 2023-04-07)
pages\admin.tsx (3542, 2023-04-07)
pages\api (0, 2023-04-07)
pages\api\admin (0, 2023-04-07)
pages\api\admin\sql.ts (1176, 2023-04-07)
pages\api\chart (0, 2023-04-07)
pages\api\chart\index.ts (1306, 2023-04-07)
pages\api\chat (0, 2023-04-07)
pages\api\chat\index.ts (891, 2023-04-07)
pages\api\hello.ts (294, 2023-04-07)
pages\api\question (0, 2023-04-07)
pages\api\question\index.ts (1002, 2023-04-07)
pages\api\sql (0, 2023-04-07)
pages\api\sql\run.ts (1024, 2023-04-07)
pages\chat.tsx (8162, 2023-04-07)
pages\index.tsx (3625, 2023-04-07)
prettier.config.js (110, 2023-04-07)
public (0, 2023-04-07)
public\favicon.ico (3873, 2023-04-07)
public\next.svg (1375, 2023-04-07)
public\thirteen.svg (1138, 2023-04-07)
public\vercel.svg (629, 2023-04-07)
src (0, 2023-04-07)
src\api (0, 2023-04-07)
src\api\admin.ts (513, 2023-04-07)
src\api\chat.ts (1010, 2023-04-07)
src\api\question.ts (1877, 2023-04-07)
src\components (0, 2023-04-07)
... ...
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## 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/deployment) for more details.
近期下载者:
相关文件:
收藏者: