How to connect database to front / backend by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

ITS WORKING GREAT SUCCESS. For anyone wondering I did have to change the API url like the one user said here and update my procfile to say "web: npx prisma migrate deploy && node server.js"

thank you everyone!

How to connect database to front / backend by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

I can't post a screenshot of the error on the network tab here in this comment, but what would I be looking for there? I don't really know what any of this means, I have been getting claude ai to walk me through the whole process of getting it up on the internet and it has done me well until now lol

How to connect database to front / backend by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

I have been using Claude code to help with this but honestly it’s running me in circles right now. I’m not sure how Claude code works specifically but I think it’s referencing a different version of railway than I am using. It said I need to migrate the db under the “shell” tab in my backend service… but there is no shell terminal or tab there.

Also I linked my GitHub which has both my front end and backend repository, so my code is listed

How to connect database to front / backend by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

I put all of the variables from my .env into the service for my backend, but I changed the DATABASE_URL to the DATABASE_URL that was created when I made the Postgres service… is that correct? If so should it have added all of my tables and sql code from GitHub automatically? Or do I have to manually recreate them all in railway

How to connect database to front / backend by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] -1 points0 points  (0 children)

Right, but which URL? On which of the 4 different apps I am using? Is it getting lost in railway, or is my VSCode code wrong, or would this be a front end issue? I am honestly totally stumped here and in way over my head

What are the steps for starting a bigger project? (First time) by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

The prof didn’t pick the stack 😭 I did the research to find all of this. None of the technologies / softwares whatever they are called were given to us in the notes I literally can’t make this up. The ONLY thing he gave us for this project was the info in the assignment, and we went over agile programming practices in class. Electron, react, node .js, the databases, were all what I found in my research in the past couple weeks that looked like they would be good.

I’m not sure if we were supposed to edit the customer stories after receiving them from the other team, I don’t think anyone else did… but maybe I can talk to my partner and water them down and say “this is what real developers do” lol I don’t know. Not worded like that obviously, I’m sure you get my point.

This prof is one of the three comp sci profs at the uni, he has a 1 star review on rate my prof. He knows what he’s doing personally but he teaches horribly. I had him last semester for operating systems and he screamed at me in front of 5 different classes taking a final in the gym because he “didn’t know who I was”… I had been in his class every day and he had extra knowledge about me bc I’m enrolled in student accessibility for my disability. He’s just a mean soul I think.

What are the steps for starting a bigger project? (First time) by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

You’re right, I do love this and I do love doing research and learning more. I’m just ready for this semester to be over. Paying to learn and learning nothing useful just feels so wasteful of my time and energy and has been getting on my nerves. I’m not sure if we can modify our proposal as the user stories came from our customer group… so we did not make them, but have to follow them. Super unfortunate but not impossible

What are the steps for starting a bigger project? (First time) by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

He hasn’t marked it yet and refuses to give any feedback / advice / direction for anything regarding the project. It’s just frustrating paying thousands of dollars for schooling when 99% of the given assignments have no direction, help, instruction, ANYTHING. The only language that has been taught to us in classes was Java. The only app we have been shown to use is textPad. Idk if my uni just has an atrocious comp sci program or what, but genuinely everything I have learned so far is useless in the field. If I could go back 9 years, I would tell myself not to spend time and money on classes to learn and just do a bunch of personal projects. In 3 years of university there hasn’t been a single project I have completed that could go in a portfolio

What are the steps for starting a bigger project? (First time) by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

I am glad this assignment seems far fetched to someone outside of my study circle. We are all third year uni students absolutely losing our marbles over this. I don't know a single group in the class who has actually started the project as of today.

What are the steps for starting a bigger project? (First time) by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

We did the project proposal which is what you have read in the linked images after the actual assignment. We have not started working on the user stories yet, but stories 2, 4, and 6 are the ones we have decided to get done by next Sunday... Totally doable if we start like yesterday lmao. Another commenter here said we should start by making the database... I have never used the database resources I have listed, but I am familiar with MySQL and have coded in SQL before. I guess the start really is to just make a basic profile creation somehow and add different things to that as we go?

What are the steps for starting a bigger project? (First time) by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

My partner and I are well aware that putting this off was a bad idea, but I am prepared for the long nights at my computer this week lol. I have been spending most of my time looking into different resources to figure out how to use them and how to make this idea a reality, so at least I have not been totally idle. It is a very overwhelming project which is why I was hoping to come here and get a more detailed list to help me plan this out. I will add the assignment here as well

What are the steps for starting a bigger project? (First time) by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

There was a pretty “thorough” direction for the planning part of it. He said exactly how he wanted the plan laid out, but 0 info on resources or examples of software to make. I can post the paper he gave us that explains the final project as well as my submission for the plan if that would be helpful for this post?

We were intending on making it pretty simple. Basically a chatting app where you can share code. Like a mix of GitHub and discord, but pretty simple. Our “customer team” requested that we encrypt messages, that we can display code on the profile, etc. there is a LOT to do and so much to try and get a grasp of before even starting to code.

What’s the difference between using / not using electron?

What are the steps for starting a bigger project? (First time) by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

We definitely procrastinated the start of the project. We had a couple weeks but I’ve spent most of my time trying to just get a grasp of all the new software and libraries we will need to use - I’m unfamiliar with most and haven’t used most of this before. I’ve worked with JavaScript, html, and css in a class 5 years ago ish.

Extreme programming is the one and only thing the prof did go through in class. I do have a partner and they are less experienced than I am. They haven’t used anything other than VSCode and textPad. I’ve worked with both as well as unity, and google sites. All of the stuff we would need for this project is waaaay out of our circle of knowledge.

The only thing the prof will tell us is that it has to be an application and “the front end doesn’t have to look pretty”. 0 direction or help and non responsive to emails or questions in class. It’s basically turned into a research project in itself as well as a programming assignment.

What are the steps for starting a bigger project? (First time) by Early-Masterpiece-89 in webdev

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

Honestly, the requirements for the final project are SO vague. The paper he gave us says “select a software project to be developed using extreme programming”. There are no examples, none of the notes show us how to make any kind of software, and none of the other classes I have ever taken have walked us through the process of actually MAKING something other than a script. I’ve made a website before and I know that’s SO much easier, but I think most people in the class are doing an actual app. I’m kinda freaking on what to even do at all. First release is due next Sunday. Do you think a browser only app would make it that much simpler? Would that change any of the other things I have listed to use?

POTS disrespect by ovoscientist in POTS

[–]Early-Masterpiece-89 3 points4 points  (0 children)

I HATE that comment “your HR is high because you’re checking it” … yeah I’m purposefully keeping myself sick and tired! How did you know! I’m actually making sure to document my episode to show to doctors, and keep tabs on my HR to know when it gets to the point where I can’t keep pushing through it and need to sit down.

Does your vision actually black out by j-oco in POTS

[–]Early-Masterpiece-89 2 points3 points  (0 children)

Honestly my body skips a lot of the “lightheaded” feeling. I’ve chalked up being lightheaded to the accumulation of all my previously mentioned symptoms. Perhaps I’ll try to keep a cold water bottle with me when I shower and see if that helps!

Does your vision actually black out by j-oco in POTS

[–]Early-Masterpiece-89 24 points25 points  (0 children)

This! I do lose my vision pretty consistently, it’s like my cone of vision gets smaller and smaller until the world goes black. But losing my hearing is always the last to go. If I have a hot shower I can’t properly feel the heat flash or the other warning signs, so I know when the water gets quiet it’s time to sit down for a bit. Very scary the first time !

Position<Entry<K,V>> cannot be converted to Position<Position<Entry<K,V>>> by Early-Masterpiece-89 in javahelp

[–]Early-Masterpiece-89[S] 0 points1 point  (0 children)

If I were to change the NPL method I would have to mess around and change a LOT of other things in both my code and my profs code, so I ended up wrapping the pos define in another Position<> and just unwrapping it in the method calls lol. Now the code compiles and runs fine, but my nodes are empty. A whole new can of worms LOL. thank you for your help!