#alex-vercel-help
1 messages ยท Page 1 of 1 (latest)
This is my back end server.js page and here is my front end checkout.jsx page that has my confirm purchase button
Hi ๐ can you elaborate on what the behavior of your backend is currently? Is it throwing errors when trying to start?
Well when it is live the front end link that I provided works just fine. The back end is not even working. The Frontend here https://e-commerce-frontend-tan.vercel.app/
The Backend here https://e-commerce-backend-roan.vercel.app/. I just get a 404 message
A Ecommerce Website made with React.js Framework.
Okay, and what trouble shooting have you done so far on the backend? What do you see in your server logs?
Im using thunder client in VS Code instead of Postman and it shows the front end link is working fine and the backend link is not working
Server logs where?
Im not trying to make this run locally anymore
Im trying to deploy it
I'm not sure where the logs would be, that would be dependent on the infrastructure you're using to deploy your code. If you're not sure either it may be beneficial to reach out to the support team for the infrastructure you're using and see if they can point you in the right direction.
Which support team? Vercel? They take 3-5 days to respond
I need this deployed fully by today or at latest tomorrow for a potential employer
Sorry, but we aren't familiar with every possible piece of tech that could be in your stack and how to troubleshoot those. We focus on helping address questions about how to use the Stripe API and investigate why it is throwing errors.
If your backend is not booting successfully, then you'll need to investigate why and the server logs are likely a good place to start.
I dont know where to look at for these server logs???
As in the Vercel website? Or the console log?
I'm not sure, I'm not familiar with where Vercel puts the server logs in their products.
Well in the vercel breakdown it shows no errors in the build logs
Hi again ๐
I'm not familiar with Vercel but likely the issue is still your API keys not being loaded into the runtime environment.
For reference, are you following this guide?
https://vercel.com/guides/getting-started-with-nextjs-typescript-stripe