examples icon indicating copy to clipboard operation
examples copied to clipboard

Hello angular motoko

Open shawndotey opened this issue 2 years ago • 4 comments

Overview This is an example of serving and deploying the Internet Computer's motoko project along side Angular.

Requirements The project will:

  • Serve a development environment with hot reloading, both Angular and Motoko.
  • Deploy it's build to live Canisters.

Considerations

  • The npm build, prebuild and prestart commands are used by the IC processes. Using them may have unintended side effects with other build processes.
  • Currently, the Typescript generated by DFX has trailing commas, which produces a conflict with Angular's default build configurations. Fixing this is beyound the scope of this example.
  • This example is intended to help those already familar with Angular to get started with the IC. This example is designed to be as straight forward as possible but it is not intended as a tool for learning Angular.

shawndotey avatar Jun 27 '22 20:06 shawndotey

I, shawndotey, hereby agree to the DFINITY Foundation's CLA.

shawndotey avatar Jun 27 '22 20:06 shawndotey

@sesi200 Thank you for the prompt feedback, I will make the changes and update the PR over the next few days.

shawndotey avatar Jun 28 '22 16:06 shawndotey

@sesi200 That should address all the key issues except not using npm as the primary implementation method. Please let me know if there is any other blockers. Thank you!

shawndotey avatar Jul 01 '22 19:07 shawndotey

@shawndotey sorry for the comment spam. I think you're addressing my concerns very well. Some of my confusion can also stem from me not being a frontend guy at all. It's totally fine to answer some of my points with "that's just how frontend/angular works"

sesi200 avatar Jul 04 '22 09:07 sesi200