This repo is the supporting material for the following blog posts:
- Consuming APIs In Angular: The Model-Adapter Pattern
- Consuming APIs In Angular: Displaying Data In Components
This project was generated with Angular CLI version 6.0.5.
For the Angular app, install dependencies with:
The backend server requires Python 3.6+. Its only dependency is [Bocadillo], which can be installed using:
pip install bocadillo
Alternatively, if you're using pipenv, you can run
First, fire up the backend server:
It will be running at
You can then start the Angular dev server using:
http://localhost:4200 to see the result.