Briston
Briston
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai Why do we need JWT secret?
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
Why do we need JWT secret?
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai i did set databaseurl as a secretin flyio, but noting on other secrets. still my app is not conencted to db. Access to XMLHttpRequest at 'https://build-nameless-haze-6728.fly.dev/operations/get-leaderboard' from origin 'https://click-olympics.netlify.app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource index-HpNF9qus.js:73 Failed to fetch leaderboard: Ee (anonymous) @ index-HpNF9qus.js:73 build-nameless-haze-6728.fly.dev/operations/get-leaderboard:1

Failed to load resource: net::ERR_FAILED
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@miho All good Mate, Noobie dev here. trying to understand things. So i have Supabase as a database and connected , it works well in my local. I have deployed my frontend in netlify? So it should work right considering both are deployed? Why do i need to deploy my backend service again in a hosted service? its just a simple app where user plays a game and their score gets added in the database and they can view them by clicking on the leaderbaord button.
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai where do i get this JWT? I have deploy my front in netligy and database in supabase. flyctl secrets set PORT=8080 flyctl secrets set JWT_SECRET=<random_string_at_least_32_characters_long> flyctl secrets set WASP_WEB_CLIENT_URL=<url_of_where_client_will_be_deployed> flyctl secrets set WASP_SERVER_URL=<url_of_where_server_will_be_deployed>
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai I'm using fly.io. give me the steps now.
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai If i want to deploy the back end? which fodler should i deploy? web-app is front end?
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai Alright, I'm using supabase which is finr. but when i deploy my app in netlify - the database is not getting connected.
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai i'm just using for personal project, is there any free options?
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai I'm planning to deploy it in vercel . Do i need to deploy any specific folder or just the whole wasp folders?
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai SO i did try it in local and it works , data dets added and pulled from supabase. But when i deploy its not happneing? its giving error? When i have my local instance on , its working and not in deployed via netlify
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai I'm using supabase and url is like this and not in the format you mentioned https://ooixxx.supabase.co
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai I tried adding the url in the env file and tried to do migrate command. it gave this error" ❌ --- [Error] Can not connect to database: --------------------------------------- The database needs to be running in order to execute this command. You can easily start a managed dev database with wasp start db."
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai I have local database as sqllite and now i need to deploy - its asking me to migrate the database and add database url. Can you give me step by step informations to proceed with. No idea on where to take the url from?
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
@kapa.ai - Give me Step by step process on the below. I have used wasp basic single page template to build a website, Now i want that to have a backend functionality? Can you help me with setting up a database? Give me all the steps that is needed.
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
Thanks, Mark this as Resolved. Issue is I forgot to do wasp build to get the GA4 installed.
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
Also once this is done, Can you give steps for deploying to netlify using cli as well? Steps after Wasp build and Completing this step npm install && REACT_APP_API_URL=<url_to_wasp_backend> npm run build @kapa.ai
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
Can you give me steps to install analytics scripts in a basic frontend client application it can be Google analytics for an example ? Give all the steps installed. @kapa.ai
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
I have SEO meta tags as well, Give example along with it @kapa.ai
97 replies
WWasp
Created by Briston on 12/15/2024 in #🙋questions
Google analytics is not getting installed in my index.html after using npm run build?
Can you give an example for wasp.main config file? Not for the blog? @kapa.ai
97 replies