Home

 Enterprise Web, Mobile, & Cloud Solutions

Metal Toad empowers your business
with custom solutions built on the
leading edge of technology.

Our long-term partnerships focus on:

The Full Lifecycle of Software Development

 

On Our Blog

URL Routing for a Decoupled App, with Angular 2 and Django

Lately, I have worked on a few projects where a single-page Angular app is contained within a site built on a server-side framework like Django. One of the challenges is to get their URLs to play nicely together. Say you have a project with an Angular 2 front end and an API back end using the Django Rest Framework. Further, imagine that your Angular 2 page is also served from within the Django app. Your URL structure might look like this:
By Keith Dechant, Software Architect