Git Product home page Git Product logo

pingcap / tidb-prisma-vercel-demo Goto Github PK

View Code? Open in Web Editor NEW
55.0 13.0 36.0 227 KB

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

Home Page: https://tidb-prisma-vercel-demo.vercel.app/

License: Apache License 2.0

TypeScript 88.40% JavaScript 6.89% HTML 4.33% CSS 0.38%
bookstore ecommerce nextjs prisma tidb tidbcloud vercel

tidb-prisma-vercel-demo's Introduction

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

image

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.

Deploy with Vercel

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

Manually Deploy (Not recommended)

1. Get connection details

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

image

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.

image

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

2. Deploy on Vercel

Deploy with Vercel

image

๐Ÿ“– Development Reference

Prisma

Prisma Deployment Guide

Bookshop Schema

Bookshop Schema Design

tidb-prisma-vercel-demo's People

Contributors

mini256 avatar shczhen avatar zhangyangyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tidb-prisma-vercel-demo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.