Skip to content
Avatar of pingcappingcap/tidb-prisma-vercel-demo

TiDB Cloud Starter

A bookstore demo built on TiDB Cloud and Next.js.

Framework
Use Case
Database
TiDB Cloud Starter

Bookshop Demo

Bookshop is a virtual online bookstore application through which you can find books of various categories and rate the books.

You can perform CRUD operations such as viewing book details, adding and deleting ratings, editing book inventory, etc.

Powered by TiDB Cloud, Prisma and Vercel.

πŸ”₯ Visit Live Demo

πŸ‘‰ Click here to visit

Deploy on Vercel

πŸ§‘β€πŸ³ Before We Start

Create a TiDB Cloud account and get your free trial cluster.

πŸš€ One Click Deploy

You can click the button to quickly deploy this demo if already has an TiDB Cloud cluster.

Integration will guide you connect your TiDB Cloud cluster to Vercel.

1. Get connection details

You can get the connection details by clicking the Connect button.

Get User and Host field from the dialog.

Note: For importing initial data from local, you can set an Allow All traffic filter here by entering an IP address of 0.0.0.0/0.

Your DATABASE_URL should look like mysql://<User>:<Password>@<Host>:4000/bookshop

2. Deploy on Vercel

πŸ“– Development Reference

Prisma

Prisma Deployment Guide

Bookshop Schema

Bookshop Schema Design

TiDB Cloud Starter
Avatar of pingcappingcap/tidb-prisma-vercel-demo

TiDB Cloud Starter

A bookstore demo built on TiDB Cloud and Next.js.

Framework
Use Case
Database

Bookshop Demo

Bookshop is a virtual online bookstore application through which you can find books of various categories and rate the books.

You can perform CRUD operations such as viewing book details, adding and deleting ratings, editing book inventory, etc.

Powered by TiDB Cloud, Prisma and Vercel.

πŸ”₯ Visit Live Demo

πŸ‘‰ Click here to visit

Deploy on Vercel

πŸ§‘β€πŸ³ Before We Start

Create a TiDB Cloud account and get your free trial cluster.

πŸš€ One Click Deploy

You can click the button to quickly deploy this demo if already has an TiDB Cloud cluster.

Integration will guide you connect your TiDB Cloud cluster to Vercel.

1. Get connection details

You can get the connection details by clicking the Connect button.

Get User and Host field from the dialog.

Note: For importing initial data from local, you can set an Allow All traffic filter here by entering an IP address of 0.0.0.0/0.

Your DATABASE_URL should look like mysql://<User>:<Password>@<Host>:4000/bookshop

2. Deploy on Vercel

πŸ“– Development Reference

Prisma

Prisma Deployment Guide

Bookshop Schema

Bookshop Schema Design

Unleash New Possibilities

Deploy your app on Vercel and unlock its full potential