Tidb Prisma Vercel Demo screenshot

Tidb Prisma Vercel Demo

Author Avatar Theme by Pingcap
Updated: 11 Dec 2024
65 Stars

Virtual online bookstore application demo which you can find books of various categories and rate the books.

Categories

Overview:

Bookshop is a virtual online bookstore application that allows users to find books of various categories and rate them. It offers features such as CRUD operations for viewing book details, adding and deleting ratings, and editing book inventory. The application is powered by TiDB Cloud, Prisma, and Vercel.

Features:

  • Find books of various categories
  • Rate and review books
  • Perform CRUD operations on book details
  • Add and delete book ratings
  • Edit book inventory

Installation:

To install the Bookshop application, follow these steps:

  1. Create a TiDB Cloud account and get your free trial cluster.
  2. Click the “Deploy on Vercel” button to quickly deploy the demo if you already have a TiDB Cloud cluster.
  3. The integration will guide you to connect your TiDB Cloud cluster to Vercel.
  4. Obtain the connection details by clicking the “Connect” button and getting the User and Host field from the dialog.
  5. Set an Allow All traffic filter to import initial data from the local by entering the IP address of 0.0.0.0/0.
  6. Your DATABASE_URL should look like mysql://<User>:<Password>@<Host>:4000/bookshop.
  7. Deploy the application with Vercel.

Summary:

Bookshop is a virtual online bookstore application that allows users to find and rate books. It offers CRUD operations for managing book details and inventory. The application is powered by TiDB Cloud, Prisma, and Vercel. The installation process involves creating a TiDB Cloud account, deploying the application with Vercel, and connecting the TiDB Cloud cluster to Vercel.