Replace Supabase with Vercel database
This commit is contained in:
parent
3bfce6a83f
commit
7871c980d6
|
@ -1 +1,2 @@
|
|||
DATABASE_URL=postgres://postgres.jashdjhakjdhaskdas:ThjascVq23KSZbAx@aws-0-eu-central-1.pooler.supabase.com:5432/postgres?pgbouncer=true
|
||||
DATABASE_PRISMA_URL=postgres://postgres:jashdjhakjdhaskdas@ep-yellow-band-a2rea0f1-pooler.eu-central-1.aws.neon.tech/verceldb?pgbouncer=true&connect_timeout=15&sslmode=require
|
||||
DATABASE_URL_NON_POOLING=postgres://postgres:jashdjhakjdhaskdas@ep-yellow-band-a2rea0f1.eu-central-1.aws.neon.tech/verceldb?sslmode=require
|
|
@ -13,7 +13,7 @@ In today's digital age, prolonged screen time is inevitable. BreakOften is your
|
|||
- **Flexibility**: Skip or postpone breaks according to your needs without disrupting your workflow.
|
||||
- **Customization**: Personalize your break schedule and timer settings. Logged-in users have their preferences saved in their profile, while others can use `localStorage`.
|
||||
- **Alerts**: Get notified with sound and visual alerts to ensure you never miss a break.
|
||||
- **Integration with Prisma and Supabase**: Secure user authentication and storage of user-defined variables like timer settings.
|
||||
- **Integration with Prisma and Vercel database**: Secure user authentication and storage of user-defined variables like timer settings.
|
||||
- **Theming**: Choose from dark or light mode.
|
||||
- **Offline support**: Lost connectivity? No problem — you can still use the timer, thanks to caching with `service-worker.js`.
|
||||
- **Fun extras**: Enjoy a touch of culture with Shakespeare quotes on your profile page.
|
||||
|
@ -45,7 +45,7 @@ Follow these steps to set up BreakOften on your local machine:
|
|||
|
||||
4. **Set up database**:
|
||||
|
||||
Push the Prisma schema to Supabase:
|
||||
Push the Prisma schema to Vercel:
|
||||
|
||||
```bash
|
||||
npx prisma db push
|
||||
|
|
|
@ -5,7 +5,8 @@ generator client {
|
|||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
url = env("DATABASE_PRISMA_URL")
|
||||
directUrl = env("DATABASE_URL_NON_POOLING")
|
||||
}
|
||||
|
||||
model User {
|
||||
|
|
Loading…
Reference in New Issue