Insight car sales trends using TiDB serverless driver and edge functions. Try out the live demo.
The data is stored in a TiDB Serverless. You can find the schema and data here.
The backend is run on the edge (Vercel edge Function, Netlify Edge Function and Cloudflare Workers). You can find the codes here.
The frontend is developed by next.js and deployed on the Vercel. It should also be able to deploy on Netlify or Cloudflare Page.
Learn best practices for connecting TiDB serverless from the edge:
You can deploy the frontend locally or on the deployment platform.
- Clone the code
git clone [email protected]:tidbcloud/car-sales-insight.git
cd car-sales-insight
- Run the frontend
npm install
npm run dev
Deploy with one click: