You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. npm install prisma --save-dev
2. npx prisma init --datasource-provider <the provider name like: mysql, sqlite, sch>
3. npx prisma migrate dev --name init
4. run in diffrent CMD for this command "npx prisma studio"
PORT = Your Smaple Port Running IN BackENd (like : 2000)
GOOGLE_CLIENT_ID= Your Google Client ID ( you can get on : [https://console.cloud.google.com/welcome?project])
GOOGLE_CALLBACK_URL= Your CallBack Auth Redirct (example : [localhost:300/callback/auth/google])
GOOGLE_CLIENT_SECRET= Your GOOGLE CLIENT SECRET ( you can get here ; [https://console.cloud.google.com/welcome?project] )
ACCESS_TOKEN_SECRET= YOUR ACCESS TOKEN (YOU CAN CREATE USING [Write in CMD : node -e "console.log(require('crypto').randomBytes(256).toString('base64'));"])
REFRESH_TOKEN_SECRET= YOUR Refresh TOKEN (YOU CAN CREATE USING [Write in CMD : node -e "console.log(require('crypto').randomBytes(256).toString('base64'));"])