• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

How to add a backend service to an Angular 2 project created with angular-cli?

Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I created a new Angular 2 project using the angular-cli command ng create. This is proving to be convenient for learning Angular 2 because I can develop the front-end in Visual Studio Code, have ng serve running in the background, and every time I make a change to a file, the app refreshes in my browser, Chrome, allowing me to "live develop" my app.

Now, though, I am at a point where I would like to add a backend service. In particular, I was thinking about using Firebase and its Realtime Database feature to store information entered into a form on my app. But I am unclear as to how to go about doing this.

Does anyone have recommendations for how I can start developing a backend service to save information entered into a form, to a project created with ng create? Preferably, if I could still use ng serve (or maybe firebase serve of firebase-tools), that would be awesome.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic