I have a love-hate relationship with Node.js. I want to like the platform for building apps but I have always disliked the way it handles the asynchronous behavior needed for web servers. Callback Hell is a real place. Catch-Try statements everywhere is messy and unappealing. The addition of promises cleaned it up a little, but one could still end up trying to pick apart long chains of promise calls, which is not ideal. Enter Node 7.6 with default async/await support. Suddenly writing a complex series of DB calls in a controller was elegantly handled by marking the controller as
async and adding
Townie is the the Yelp clone I built while working through Learn Node. I have made a few tweaks to add Geolocation and plan to expand the API to support a React Native app which I am currently building. This project is exciting, and I am looking forward to digging into it as my new side-project.