R
Railway16mo ago
Devmoha

Service or Project for front end with backend project

i have next js app that is consuming api from django rest framework now how do i create full service with their domain rather than creating projects for each . any docs or tutorials will be appreciated
9 Replies
Percy
Percy16mo ago
Project ID: N/A
Devmoha
DevmohaOP16mo ago
no id
fad
fad16mo ago
You should be able to just create a single project, but multiple services within that project. One service for the back-end and another service for the front-end.
Devmoha
DevmohaOP16mo ago
i dont understand yet can you please give tutorial or docs
fad
fad16mo ago
Could you perhaps give us a bit more details in what you're trying to accomplish and what part you're struggling with? Are you confused about how to create multiple services within one project? Or perhaps just trying to figure out how to connect the two services through environment variables? Or is there something else you're not sure of?
Devmoha
DevmohaOP16mo ago
for more detail : i want to have two app front end app using next js and backend app using django rest framework api and i want these two apps to be in one folder with general folder name and then database project that also includes in that folder , this helps me arrange my project well so is there something like this in railway and if so how you do it any tutorials ?
Brody
Brody16mo ago
do you have a the next and django app in the same repo, or are they in separate repos?
Devmoha
DevmohaOP16mo ago
separate repo but i am open for any recomended workflows
Brody
Brody16mo ago
create your one project, then just add a service by clicking the + New button in the top right, deploy from your github repo, and do the same for both services
Want results from more Discord servers?
Add your server