[SF-Travelogue] (https://sf-travelogue.herokuapp.com/)
SF-Travelogue allows users to search for interesting places in San Francisco neighborhoods.
The motivation for this project is to allow newcomers to San Francisco to have an easy way to explore the neighborhoods and for residents to discover new, interesting places in the city.
- Materialize
- Node.js
- Express
- MongoDB
- Mongoose
- jQuery
SF-Travelogue API provides the following JSON endpoints:
GET /apiDescribes all available endpointsGET /api/neighborhoodsget all neighborhoods as JSONGET /api/neighborhoods/:hoodIdget one specific neighborhood as JSONGET /api/neighborhoods/:hoodId/placesget all places from a neighborhoodGET /api/neighborhoods/:hoodId/places/:placeIdget one specific place from a neighborhoodPOST /api/neighborhoods/:hoodId/placescreate a new place for a neighborhoodPUT /api/neighborhoods/:hoodId/places/:placeIdUpdates one place attributesPATCH /api/neighborhoods/:hoodId/places/:placeIdUpdates one place attributes (research?)DELETE /api/neighborhoods/:hoodId/places/:placeIdDelete one specific place from a neighborhood
<div class="center-align">
<a href="https://www.google.com/maps/dir/here/{{this.address}}+San+Francisco,+CA" target="_blank" class="waves-effect waves-light btn-large" id="googleMaps"><i class="material-icons left">navigation</i>Directions</a>
</div>
function editPlaceSuccess(data){
$('#newPlaceForm input').val('');
allNeighborhoods.forEach(function(neighborhood){
if(neighborhood._id === neighborhoodId){
neighborhood.places.forEach(function (place, i){
if(place._id === placeToUpdateId){
neighborhood.places.splice(i,1,data);
}
});
}
});
renderSpecificNeighborhood();
}
##Screen Shots
- more flexibility navigating through the neighborhoods
- more intuitive to now that clicking the neighborhood card will open another page
- integrate the Google map with the page
- possibility to add place images

