BartVentures targets tourists visiting the San Francisco Bay Area. A user can use the app to figure budget. In addition, users can look at the popular attractions near that Bart Station to better help them make up their mind where to explore.
MongoDBfor managing our databaseExpressfor simplifying the server creation processNode.jsbased serverAxiosfor fetching information from the backendJavaScript ES6for enhancing componentsReact.jsfor updating and rendering proper componentsReduxfor maintaining predictable stateMLabfor remote storageHTML5for formattingCSS3for styling components
We used Google Maps API to include the map on our website. Map shows users how far they can get with their budget on Bart.
Here is code snippet showing how we center the map to the area where bart is operating
const GoogleMapExample = withGoogleMap(props => (
<GoogleMap
defaultCenter = { { lat: 37.773972, lng: -122.431297 }}
defaultZoom = { 11 }>
{ this.props.bartMarkers.map((bart, index)=> {
let loc = { lat: bart.lat, lng: bart.lng};
Markers within the map show bart stations and public attractions, such as parks, museums, and tourist areas. Users can get more specific information of a certain public attraction on the right side of the screen and scroll through all the attractions they can visit within the budget range. They only need to enter the budget and choose the starting bart station.
BartVentures has a secure frontend to backend user authentication using BCrypt. This is a step towards giving logged users opportunity to comment on certain attractions (which is a future feature).
We used Validator to check if the email provided by the user is a valid one.
if (!Validator.isEmail(data.email)) {
errors.email = 'Email is invalid';
}
- Logged Users can comment on attractions
- Display weather within the map
- Display free events within the map


