Alex Merced walks through creating a full-stack application using Node, Koa and Mongo.
[ Ссылка ]
[ Ссылка ]
two things you'll need to fix after watching this video:
- the DB host env variable doesnt take as a whole, make the username a enviornment variable and interpolate it into the db url in your code (will show on next video).
- on the server.listen command change the port to (process.env.PORT || 5000)
Learn more about Alex Merced at AlexMercedCoder.com
Learn Web Development at AlexMercedCoder.com/learnwebdev
Ещё видео!