10 months 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
10 months ago
N/A
10 months ago
Were you able to deploy the react app or the django? What errors are shown in your logs?
10 months ago
project id is totally applicable here btw
10 months ago
i have the backend and frontend on diffrent repo in my github

10 months ago
Oh we are crashing at build
10 months ago
yes, i have all the requirement installed
10 months ago
Did u set a start command in the service settings?
10 months ago
nope
10 months ago
You will need to. I suggest finding Railway templates for your desired stack and copy the configuration files from those into your app
10 months 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
10 months ago
10 months 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
10 months ago
I prefer a simple api like flask in my backend
10 months ago
i was trying new things, i used typescript and node.js
10 months ago
some time
10 months ago
i will learn how to flask some day later
10 months ago
thanks man
10 months ago
yo guys thank u @Adam @Medim
very much
i used ur help and deployed it
thanks so much
the site is live
10 months ago
10 months ago
Glad to hear it! Am I good to call this solved?
10 months ago
@Adam is it possible to put my front end repo inside here and the project will still be deployed successfully

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