This application was built to allow users to register a new account and add new restaurants with an image, location, caption and tags. Users were also able to leave reviews on other stores and give them a ‘heart’ if they’ve enjoyed the restaurant. The database was setup using Mongoose, MongoDB hosted on MLABS. Authentication for registering accounts was done through Passport. In addition, Google Geolocation was used to find the latitude and longitude of the restaurant creating a map with markers of all the registered restaurants. In case users forgot their passwords Mailtrap.io was utilized to allow users to request a reset password email for development. In production I used Postmark to handle the mail service. Lastly, for the front-end I used Pug template or formerly known as Jade with Axios to make the http-post/get requests.
