a year ago
hello guys
I'm literally about to cry
I have been debugging for 4 days now
I'm trying to host an e-commerce site (food ordering site)
The last one I did
was pretty simple
just HTML AND CSS WITH DJANGO
NOW I switched to React and used Django as backend
and I can't host it
I have been having errors for days now
Please is there any guide for me
to deploy react and django
<#1006629907067064482>
34 Replies
a year ago
N/A
a year ago
Were you able to deploy the react app or the django? What errors are shown in your logs?
a year ago
project id is totally applicable here btw
a year ago
i have the backend and frontend on diffrent repo in my github

a year ago
Oh we are crashing at build
a year ago
yes, i have all the requirement installed
a year ago
Did u set a start command in the service settings?
a year ago
nope
a year ago
You will need to. I suggest finding Railway templates for your desired stack and copy the configuration files from those into your app
a year ago
I don't know much about Django, but there's a guide on how to deploy a Django app
https://docs.railway.com/guides/django#deploy-django-app-on-railway
a year ago
a year ago
Is there a reason why you’re not using django as a frontend? Personally, I don’t like using django as a backend if I’m not also using it as a frontend
a year ago
I prefer a simple api like flask in my backend
a year ago
i was trying new things, i used typescript and node.js
a year ago
some time
a year ago
i will learn how to flask some day later
a year ago
thanks man
a year ago
yo guys thank u @Adam @Medim
very much
i used ur help and deployed it
thanks so much
the site is live
a year ago
a year ago
Glad to hear it! Am I good to call this solved?
a year ago
@Adam is it possible to put my front end repo inside here and the project will still be deployed successfully

a year ago
yeah! just add a new service
a year ago
if your backend is already successfully deployed it shouldn't interfere
a year ago
fr, so i can add the frontend repo inside there
that cool bro
a year ago
yes its successful, but the frontend is deployed in another project
a year ago
U should deploy it on the same project as your api so you can benefit from the internal network
a year ago
thanks man, it worked
a year ago
God im so happy
a year ago
nice, were you able to connect your frontend to your backend through the internal network?
a year ago
that way we prevent some egress fees
a year ago
will be closing this chat now
thanks to you all
a year ago
yes man,
a year ago
dw, I will mark as solved
a year ago
!s
Status changed to Solved medim • 11 months ago