AngularJS/Node/Express/Knex -2 - Setting up Node/Express

preview_player
Показать описание
This time, we're setting up a simple node/express server for our full stack todo list project with AngularJS, Node, Express, Knex, and PostgreSQL.
Рекомендации по теме
Комментарии
Автор

Trying to follow along. At the end of the video, I got an error in the browser "Cannot GET /". A quick trip to stack overflow, it appears that the static reference you are using might need to be more explicit in some cases. The simple solution was:

+ '/public'));

That solved it for me, and may help someone else.

warrenra