I’m a newbie to PWA and wanted to make a simple login page.
I created a simple page with email and password inputs and a login button.
Now I want the button to call my backend login API (webservice).
I tried creating a service where the code should go but I got a message:
[ERROR] Sorry! ionic g can only be run in an Ionic project directory.
I looked for some info about it but got lost in the way. Where can I have an article or any other helpful information about adding http requests to a PWA project?