Skip to content

bambooom/nocodb-example

Repository files navigation

Deploy with Vercel

Nuxt 3 Minimal Starter

Look at the nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Checkout the deployment documentation for more information.

Server API

尝试利用 vercel serverless function 功能提供 server API, 有 pingcap 提供的例子:tidb-prisma-vercel-demo 但此处 nocodb 使用的是 nuxtjs,需要使用 server directory 实现。

前端代码里现在使用的是 nocodb-sdk,考虑直接替换成 tidb-prisma-vercel-demo 中 实现的直接操作数据库,或者把 nocodb 本体代码重新包装成一个单独的 express app。