Not able to login in this app
mayuryeole opened this issue · comments
I clone the project but not able to create new customer here.
Getting Error "Cannot POST /api/auth/login"
Please suggest.
Did you login successfully? You can use any email address and a password that's at least 6 characters long (with 1 digit). I just tried it out and everything seems to working as expected.
Are you running the steps in the readme? Make sure you're using npm start rather than ng serve to start the server.
Thank you it is working now. what is the difference between ng serve and npm start?
ng serve is a static file server (and it builds) for local Angular development. npm start is used here because it launches the Node.js RESTful service the app uses for data and also serves up the Angular files using the Node server.