Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database #31

Open
Rtrudel88 opened this issue Nov 11, 2023 · 3 comments
Open

Database #31

Rtrudel88 opened this issue Nov 11, 2023 · 3 comments

Comments

@Rtrudel88
Copy link

Curious but is it possible to use this as a template and use my own database? Im all self taught and still learning.

@SammitBadodekar
Copy link
Owner

yes it is possible to use Blabstr with your own database

all you need is , fork/clone this repo then

npm install 

Create a file called .env
inside that file paste this with your own credentials

DATABASE_URL= <your database URL>

GOOGLE_ID = <your Google cloud id >
GOOGLE_SECRET = <your Google cloud secret >

NEXTAUTH_URL = http:https://localhost:3000
NEXTAUTH_SECRET = <any random password >

UPLOADTHING_SECRET=<Your uploadthing secret > 
UPLOADTHING_APP_ID=<Your uploadthing app ID > 
// optional , if you want to upload image/video then only required


PUSHER_APP_ID=<Your pusher_app_id > 
PUSHER_APP_KEY=<Your pusher_app_key > 
PUSHER_APP_SECRET=<Your pusher_app_secret > 
// optional , if you want to use chat/communities then only required

@AdelEddarai
Copy link

it would be better of u use supabase

@youngtiger1
Copy link

youngtiger1 commented May 8, 2024

Why I created env contains this DATABASE_URL= mysql:https://avnadmin:[email protected]:13162/defaultdb?ssl-mode=REQUIRED but when I sign up it still say email exist I think maybe database is not well configured please help me I'm new in typescript, next.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants