Skip to content

AdamVacha/FoodBridge

Repository files navigation

FoodBridge

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Prisma ORM + Turso Setup

https://www.prisma.io/blog/prisma-turso-ea-support-rXGd_Tmy3UXX
npm install

curl -sSfL https://get.tur.so/install.sh | bash

Restart IDE

turso db create turso-prisma

turso db tokens create turso-prisma

turso db list

update .env w/ TURSO_AUTH_TOKEN & DATABASE_URL

npm install prisma

npx prisma migrate diff --from-empty --to-schema-datamodel prisma/schema.prisma --script > migration.sql

npx prisma migrate diff --from-empty --to-schema-datamodel prisma/schema.prisma --script > migration.sql

npm install @prisma/client@latest

npm install @prisma/adapter-libsql

npm install @libsql/client

Auth Setup

https://authjs.dev/reference/sveltekit

About

swe group project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •