Skip to main content

Command Palette

Search for a command to run...

⚙ Building full-stack web app on Heroku - Part 2

Updated
1 min read
⚙ Building full-stack web app on Heroku - Part 2
L

French software engineer building a new life in Japan. My journey here is a big challenge—from learning the language to navigating the tech scene. I use this blog as a space to share what I'm learning, both in tech and in life.

Context

Following the part 1, here I just build a frontend with Angular to call my spring restful API and display the data.

1. Front-end with Angular

Example to follow

Use of Material style

https://material.angular.io/components/button/overview

2. Issues I faced

How to consume API data with Angular

CORS errors

Use a proxy config

"start": "ng serve --proxy-config proxy.config.json"

4. Deployment on Heroku

A lot of errors when deploying

partial fix with the following console line

npm i @angular/cli @angular-devkit/build-angular @angular/compiler-cli typescript --save-prod

npm link @angular/cli

Unfortunately, even when deploying on Netlify, it seems that a website deployed on those platforms is not allowed to link to another app.

⚙ Technical

Part 4 of 20

In this series, I gather data on IT concepts and I come back step by step on how I made a project, introduction to a new language/framework, how to deploy on a specific platform, how to use a library.

Up next

⚙ Introduction to BEM

What is BEM BEM (Block, Element, Modifier) is a component-based approach to web development. The idea behind it is to divide the user interface into independent blocks. This makes interface development easy and fast even with a complex UI, and it all...

More from this blog

L

LPM Blog

194 posts

日本でのキャリアを切り拓く私の挑戦の記録です。

ここでは、私の就職活動の道のり、技術的な学び、そして異文化で働くことの喜びと苦労を共有していきます。

この挑戦を通じて、ITエンジニアとしての成長を皆さんにお見せできれば幸いです。