Spring boot + mysql deployment issue
I am trying to deploy my spring boot backend on railway but it is giving error and it is not responding after several attempts and giving error 404
Here is the deployment link :
https://stellar-success-production.up.railway.app
My github repo:
https://github.com/hemanthhhhhh/CrickInformerBackend
It is working on localhost very well but not able to deploy.
GitHub
GitHub - hemanthhhhhh/CrickInformerBackend
Contribute to hemanthhhhhh/CrickInformerBackend development by creating an account on GitHub.
20 Replies
Project ID:
N/A
N/A
its working here, wdym? https://stellar-success-production.up.railway.app/match/live
how did u find that endpoint? lmao
oh, the repo
in controller
https://github.com/hemanthhhhhh/CrickInformerBackend/blob/master/src/main/java/com/crick/apis/controllers/MatchController.java
GitHub
CrickInformerBackend/src/main/java/com/crick/apis/controllers/Match...
Contribute to hemanthhhhhh/CrickInformerBackend development by creating an account on GitHub.
yeah, just saw it
Oh that's why it was not working that end point
https://github.com/hemanthhhhhh/CrickInformerFrontEnd
So I have to paste the link in this frontend to make it work right?
GitHub
GitHub - hemanthhhhhh/CrickInformerFrontEnd
Contribute to hemanthhhhhh/CrickInformerFrontEnd development by creating an account on GitHub.
yep
in environment.ts
@ThallesComH So I have to keep env.development.ts as it is
actually just saw this
for some reason it's using the development enviroment
so yeah also change there
@@ThallesComH π₯²π₯²
send me the frontend url
@ThallesComH
Github repo:
https://github.com/hemanthhhhhh/CrickInformerFrontEnd
Deployment link:https://tranquil-pasca-12781b.netlify.app/live
GitHub
GitHub - hemanthhhhhh/CrickInformerFrontEnd
Contribute to hemanthhhhhh/CrickInformerFrontEnd development by creating an account on GitHub.
use https in the environment.ts
@ThallesComH In the env.deployment.ts too?
yes
all enviroment*
Done but still error is there
Look at the deployment link πͺ
you added .com to your domain, again just put your domain there.
Yes it worked.. Thank you for the help bro ππ