title: Client side JS (e.g. AngularJS) + Django REST Backend: Deploy onto single PaaS?
body: <p>Basically I'm structuring my app similar to this GitHub project:
  <a href="https://github.com/zackargyle/angularjs-django-rest-framework-seed" rel="nofollow noreferrer">https://github.com/zackargyle/angularjs-django-rest-framework-seed</a></p>
  
  <p>Is it possible to deploy both the backend and frontend onto a single PaaS such as Heroku/Elastic Beanstalk?</p>
  
  <p>Having a separated REST backend and JavaScript frontend seems like a cleaner/more scalable way to do things rather than trying to mix them together like [django-angular]: (<a href="http://django-angular.readthedocs.org/en/latest/index.html/" rel="nofollow noreferrer">http://django-angular.readthedocs.org/en/latest/index.html/</a>), or having a REST backend mix with the Django app like <a href="http://blog.mourafiq.com/post/55099429431/end-to-end-web-app-with-django-rest-framework" rel="nofollow noreferrer">http://blog.mourafiq.com/post/55099429431/end-to-end-web-app-with-django-rest-framework</a></p>
  
  <p>If it is not possible to deploy it easily onto Elastic Beanstalk, is there an easy way to deploy the Django backend onto Elastic Beanstalk, and AngularJS frontend to Amazon EC2/S3 with minimal configuration?</p>
  
  <p>I realize there's a similar discussion before this: <a href="https://stackoverflow.com/questions/19170728/client-js-django-rest-framework">Client JS + Django Rest Framework</a>
  but it lacks more specific details.</p>