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
Project ID:
N/A
no id
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.
i dont understand yet can you please give tutorial or docs
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?
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 ?
do you have a the next and django app in the same repo, or are they in separate repos?
separate repo
but i am open for any recomended workflows
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