title: Angular with Django development
body: <p>I've almost finished developing my frontend in Angular 2 using static json files as API mocks. Now I want to use it with my real API from Django, and I'm struggling with few issues, since it is my first Angular 2 frontend.  </p>
  
  <p>I've moved whole Angular project generated by Angular CLI as <code>frontend</code> directory within my Django project. Django is exposing API at <code>/api</code>, and I want to perform request to that API from Angular. In production, Angular sources will be transpiled into javascript and moved into static (i guess), but I don't know how to handle it during development.  </p>
  
  <p>Is it possible to run Django development server with Angular <code>ng serve</code> on the same port at the same time? If I'll run them at different ports, I will need to hardcode my API url in frontend, and enable CORS which won't be enabled in production.  </p>
  
  <p>What are the best practices to develop Angular with Django?</p>