Boss Machine

Hello everyone :wave:t2:
I’ve finished Boss Machine project. It took me a few days. I did everything, checked with solution code. And my tests pass. But I can’t see anything on the front-end side. It says “Cannot GET /”. I decided to still practice conceptions that we were learning with get, put, post, delete and param. It seems like a problem might be in older version of exercise…

Here is my code on GitHub Boss Machine.

1 Like

Hi, check out this Tips for boss project.. There is a line you need to add.

1 Like

Thank you very much. I will try it :star_struck:

did you try? I followed the instructions from Tips for the Boss Machine project (Express.js): Installation, start local server, access index.html, and using Postman to test all the routes, however I cannot see anything in the front end. The instruction in the browser http://localhost:4001/api/minions actually return the array of minions, but it does not render in the front end.

I think this starter code is just broken; for instance, the initial list of 10 minions that gets generated on server start never renders in the browser, yet it comes up without issue if I hit the localhost/api/minions endpoint with Postman. My code exactly matches the solution so I have no idea what could be wrong.

1 Like

same problem here! at the end my solution was to develop all the routes for the minion Router API, then to test only for that one, and eventually the rendering start to happen. Good luck mate!

1 Like

Cheers, we need some luck here… I can also confirm that POST, PUT, GET by ID and DELETE all work properly when using Postman. Here’s a strange wrinkle: if I create a new minion in the browser and then delete him, suddenly the original list of random minions renders. I think the geriatric React Redux app packaged in the starter code doesn’t work properly with updated dependencies.

1 Like