K
K
Konstantin Kruglov2016-09-18 22:44:53
JavaScript
Konstantin Kruglov, 2016-09-18 22:44:53

How to develop backend and frontend separately?

Good time.

I have a need to develop a website. There is a smart frontend developer. I will be in charge of the backend. But then I realized that I do not understand how to separate these two niches.

What I think is the easiest way to do it: we will file a common git and we will each shit-code in our daddy / brunch, it is in templates / statics. I am wherever possible ... then merge into the develop branch, then into master. Nothing else comes to mind. If I don’t care about templates at all, then how can he collect his files (npm, grunt, js ... what else will he use there ...).

Perhaps the work needs to be organized in a different way. Any ideas?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey K, 2016-09-19
@k0st1an

Definitely different repositories.
On the backend only API.
On the Single page application front.

S
sim3x, 2016-09-19
@sim3x

In a good way, the
frontender saws the templates in djangoproj/templates/{css,js,img}
the back is sawn - by default
you show the Frontender how to do ./manage.py runserver
You can merge directly into the master, because you should not have conflicts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question