todoapp-angular-ngrx
todoapp-angular-ngrx copied to clipboard
App not loading when serving
Hi Noman, I have cloned the app and I followed the instructions to serve the app. But the app keeps on throwing the error in the console. I have checked the environment file. The URL is pointed to http://localhost:3000/
To serve the app:
ng serve --port 4302 --open
Error in the console:
And in the browser: it keeps loading
Kindly help what am I doing wrong?
@ragavanrajan , Did you clone and ran the NodeJS Api project too ? You need to clone this repo - https://github.com/nomanHasan/todo-api and then follow the instructions to run it before using this client project.
- Install and Run Mongodb.
- Clone and Run https://github.com/nomanHasan/todo-api
- Clone and Run https://github.com/nomanHasan/todoapp-angular-ngrx
If you did all that - it should be working. If it didn't please share the response of this url - http://localhost:3000/api/todos