Fullstack Nightlife Coordination App Retrospective

Intro

The fullstack nightlife coordination app is an app where you can search for bars and cafes that are open late in your area. You can RSVP to tell your friends where you are going to party that night. The front end is a series of static HTML/CSS pages that uses just vanilla JavaScript to make calls to the server.

I am using the Yelp API that's being called from the server, not from the client.

The server is writeen in Node and uses Express as a middle layer and the database is MongoDB and uses Mongoose for a schema.

I had lots of issues just getting this project up off the ground. I relied upon this Coursera course a lot for understanding Node/Express and MongoDB/Mongoose. I also had tons of questions for other more experienced devs in my coding cohort.

Code Review

There are two things that I wish I'd done better in this project. The first is that I couldn't wrap my head around how to get an Angular SPA on the front end to build properly and still connect to the API endpoints. So that's something that I know I need to wrestle with.

I still had problems with authentication, but this time I opted to use Google login. This at least gave me unique identifiers for each person. This is still any area where there can be lots of growth.

Future Improvements

There are three places where this app could really use some improvements. The front end isn't terrible, but it would look and feel better as an Angular or Vue app. A more robust authentication system would also be a big improvement. The third is that the Yelp API token is only good for a limited time, so this application has a line in the sand where it will no longer continue to work unless I go renew my token with Yelp.

  • Build the front end in Angular or Vue
  • Wrestle with oAuth or JWT to flesh out the authentication
  • Find a way to automate renewal of my Yelp API key