Short circuit between the producer and the consumer of the product. The producer can sell his products directly to the consumer without going through intermediaries. The consumer can buy the product directly from the producer.
yarn install
Create a .env
file in the root of the project and add the following content:
VITE_APPWRITE_PROJECT_ID=<YOUR_APPWRITE_PROJECT_ID>
VITE_SUPABASE_URL=<YOUR_SUPABASE_URL>
VITE_SUPABASE_ANON_KEY=<YOUR_SUPABASE_ANON_KEY>
DATABASE_URL=<YOUR_DATABASE_URL>
Run a migration to create your database tables with Prisma Migrate
npx prisma migrate dev --name init
Generate Prisma Client
npx prisma generate
yarn dev