[email protected] – add API proxy

Create a file like “proxy.json” in your [email protected] projects’ root. { “/api”: “http://localhost:1337” } start your development server with: 🍰  $ ng serve –proxy-config proxy.json All request to http://localhost:4200/api/v1/endpoint will now be proxied to http://localhost:1337/api/v1/endpoint   Pro Tip: add “start”: “ng serve –proxy-config proxy.json”, to the scripts section inside of your package.json and use the …

2,5 years on AngularJS – Part 1

As far as I can remember the first version of AngularJS I’ve ever tried was vegetable-reanimation (released Jun 30, 2011). I was doing some research for my master thesis in those days. After developing web stuff for more than a decade, I dunno way, but I was blasted from day one. So Angular was the framework I used for …