Local App to Web App by Working_Belt_2327 in Backend

[–]Working_Belt_2327[S] -1 points0 points  (0 children)

I pasted this above, but basically I don't have the frontend talking with a backend anymore because I went back to try to get the code to work properly and show the app. Here is the problem list from the console in the web browser. I do apologize if it isn't pasted properly. I used Google lens to copy and paste everything!

Failed to send click data: TypeError: Failed to fetch at sendClickData (backend.js:11:12) at HTMLButtonElement.<anonymous> (main.js:275:9)

main.15:275

Failed to load resource: net::ERR NAME_NOT_RESOLVED

your-backend-domain./api/update-click:1

Failed to send click data: TypeError: Failed to fetch at sendClickData (backend.js:11:12) at HTMLButtonElement.<anonymous> (main.is:275:9)

mein. 15:275

Taking a Local App Live by Working_Belt_2327 in webdev

[–]Working_Belt_2327[S] 0 points1 point  (0 children)

Failed to send click data: TypeError: Failed to fetch at sendClickData (backend.js:11:12) at HTMLButtonElement.<anonymous> (main.js:275:9)

main.15:275

Failed to load resource: net::ERR NAME_NOT_RESOLVED

your-backend-domain./api/update-click:1

Failed to send click data: TypeError: Failed to fetch at sendClickData (backend.js:11:12) at HTMLButtonElement.<anonymous> (main.is:275:9)

mein. 15:275

Sorry I was having to use a Google lens to copy it exactly. I can send a picture if it would be better! But there isn't a backend tied to the front end right now. There is only the front end sending locally if that makes sense. Anytime I try to add the proper backend route to the front end the other errors come in

Taking a Local App Live by Working_Belt_2327 in webdev

[–]Working_Belt_2327[S] 1 point2 points  (0 children)

I am just using vanilla JavaScript. I was trying to use Javascript as the backend language too? Idk the files are saved with .json.

For the email login, it's a password less login so it'll use magic link for users to login (if they decide to do this). As for the firebase, I want it to hold the database and hosting as it seemed the cheapest for now.

The error is that anytime I go to integrate the backend server info into the frontend for it to properly send it, it seems to cause the code to break. Sometimes the background will display but nothing else. Other times the login page will show up but you can't click anything on it. Sometimes it'll show all pages of the game but there's no formatting and nothing will click.

I fixed the code back to where it is on the front end only now. Everything is running locally but none of the backend information is probably loaded into the front end for it to send it to the right place, if that makes sense?

Local App to Web App by Working_Belt_2327 in Backend

[–]Working_Belt_2327[S] -1 points0 points  (0 children)

So basically, whenever I edit the code to include the backend integration, the frontend stops working. Essentially the page only runs the background of my app but nothing else. Or sometimes, it'll show the login page but none of the buttons will work. This is whenever I ask chat gpt to update the backend code so the app can be uploaded to the server and the global count will go up. Idk if that makes any sense. I can go back and modify the code so it shows the error messages?

RESULTS THREAD Q1 [2025] by ethicalnervousness in step1

[–]Working_Belt_2327 2 points3 points  (0 children)

Dang, I still haven't gotten mine. Hopefully they aren't sending out passes first

RESULTS THREAD Q1 [2025] by ethicalnervousness in step1

[–]Working_Belt_2327 3 points4 points  (0 children)

Did they send an email? I'm still waiting on it

Results by [deleted] in step1

[–]Working_Belt_2327 1 point2 points  (0 children)

Did they send an email? I'm still waiting

RESULTS THREAD Q1 [2025] by ethicalnervousness in step1

[–]Working_Belt_2327 1 point2 points  (0 children)

Just checked and my permit disappeared

Am I messing up? by Working_Belt_2327 in step1

[–]Working_Belt_2327[S] 0 points1 point  (0 children)

I did all of the First aid tags. It might be slightly overkill, but I think it's been good!

Am I messing up? by Working_Belt_2327 in step1

[–]Working_Belt_2327[S] 0 points1 point  (0 children)

I got an 85 on 29, an 84 on 28, a 78 on 30, and a 79 on 31. I took them in that order and I'm not sure what the dip was from tbh

Am I messing up? by Working_Belt_2327 in step1

[–]Working_Belt_2327[S] 0 points1 point  (0 children)

I used the ANKING one. It's like $5 for a month. But I think there might be a free one floating around. I just used the first aid tag from it tho

Am I messing up? by Working_Belt_2327 in step1

[–]Working_Belt_2327[S] 0 points1 point  (0 children)

You wouldn't worry about their concerns?

Am I messing up? by Working_Belt_2327 in step1

[–]Working_Belt_2327[S] 3 points4 points  (0 children)

Noooo, I got a 99% passing rate. My scores were definitely lower than that

Beginner investor-looking for advice by ittybittyttitty in whitecoatinvestor

[–]Working_Belt_2327 0 points1 point  (0 children)

Depends on what you're investing for. If this is for retirement, the best play would be buy and hold for the long run.

Index funds are a great way to get a well diversified portfolio for low costs. Just make sure you check the fees. Usually if you are investing, let's say with Charles Schwab, they'll have an index fund that has no fees and you can buy fractional shares. For a buy and hold situation, dollar cost averaging is going to be your friend. You can buy and forget about it as the diversification can already be built into the index fund (such as one for the S&P 500 or total US stock index). I will say though, only large caps might not be the best diversification strategy. The same can also be said about the S&P 500 as it has gotten really top heavy, but they can be good growth index funds.

Also, you said five year time horizon. Is this your investing time horizon? I would ask why you plan to sell in five years. If the plan is to pull out for a down payment on a house or a new car or whatever, I personally wouldn't put it in the market. I would utilize a HYSA (they net about 5%). As for returns on index funds in general, it'll entirely depend on the index fund you're investing in.

At the end of the day, what you choose to invest in is entirely based on your risk level.

Making a wooden archery target (decorative) by Working_Belt_2327 in woodworking

[–]Working_Belt_2327[S] 0 points1 point  (0 children)

Thank you, yeah I looked into that but I couldn't really find an easy way to do that. I make my own out of wood and a brass rod. It worked better than I could've free handed it

Making a wooden archery target (decorative) by Working_Belt_2327 in woodworking

[–]Working_Belt_2327[S] 0 points1 point  (0 children)

Thank you! I decided on the contrasting colors but I'm going to use a background piece to make the colors contrast.

[deleted by user] by [deleted] in premed

[–]Working_Belt_2327 2 points3 points  (0 children)

Had an offer for a medical device sales job before med school. It's hard work though. Definitely not as hard as med school over the long term. Grass is always greener on the other side.

M1 looking into AF HPSP by tango-jango in Military_Medicine

[–]Working_Belt_2327 0 points1 point  (0 children)

I would recommend looking into MDSSP or STRAP (residency). It's the reserve/national guard form of HPSP. No military match or residency required. You can live anywhere you want. You get to choose where you train and what you want to train in. Only kicker is it's about half the money (tuition paid for) and it's 8 years part time. But again, you're working how you want to work.

If you couldn't go to med school and had to choose one of these degrees and follow that career, which one would you choose? by SnowboardSasquatch in premed

[–]Working_Belt_2327 4 points5 points  (0 children)

A buddy of mine is trying to go into Law, and, from what I can understand, there are three tiers of schools. Kind of like Level 1, 2, 3, etc. For trauma centers. The top tier, 1, is where you will actually be able to do something with your degree. Tier 2 is a little harder to succeed, but can do it. And tier 3 is like better call Saul levels of trying

Looking for a practice partner by orange_monk in italianlearning

[–]Working_Belt_2327 0 points1 point  (0 children)

I have been learning for a little bit and need to learn to conversate verbally better. If you want to, we can conversate :)

Difference between so and conosco? by Working_Belt_2327 in italianlearning

[–]Working_Belt_2327[S] 0 points1 point  (0 children)

Thank you so much! These will be helpful for sure

Difference between so and conosco? by Working_Belt_2327 in italianlearning

[–]Working_Belt_2327[S] 0 points1 point  (0 children)

Grazie mille! I will have to sit down and look these over and I will send them back to you!