DEV Community

Discussion on: Designing a better architecture for a Node.js API

 
pacheco profile image
Thiago Pacheco

Hi Norbin,

You can test the app sending a post request to localhost:5000/api/post

Thread Thread
 
javamhan profile image
Norbin Astrero

Yes done i've already did that, I also tried localhost:5000/api/getAll.

Im getting error below.

Cannot POST /api/post
Cannot GET /api/getAll