I am developing a web application with a small team, and after researching and studying a bit we discovered it is a good practice to separate back-end and front-end projects. So we will develop the back-end as a REST API with hapijs and mysql database, and the front-end using angularjs.
But in the production environment they must be at the same server, right? How do we deploy them to the same server if they are in separate repositories?
We are a fairly new team, starting our adventures in web development, so we are studying a lot to get things right.
Our technology stack will be:
- Hapijs for the webserver
- sequelize for orm
- socket.io for chat functions
- mocha for unit testing
- angularjs for frontend
We will use microsoft azure for hosting our web app.
Thank You for the answers and help.