Giter VIP home page Giter VIP logo

placestogo's Introduction

Aury Rodriguez 07/12/2017

My project: Places to go.

An app where user can check the places to visit around the world

User Stories

The user would specify a country and / or a city , and it will retrieve information about places (hotels, buidings,monuments, etc.). If the user log in he/she would be able to create its own list of places, add information, and plan a trip.

Wireframe

Wire frame Wire frame Wire frame

The technologies, APIs, and modules

*Technologies	
-HTML
-JavaScript
-Css
*NPM
-express
-morgan
-path
-body-parser
-method-override
-cookie-parser
-express-session
-passport
*API's
-Google Places (Retieve the places info)
-Google Images (Retrieve the Images depending of the result of the previos API )


## This is the code  that I'm proud of <h2>
  let  promiseArray = imagesArray.map(function(photo_reference,index){
            if (photo_reference!=="./images/noImage.jpg"){
                return fetch(`https://maps.googleapis.com/maps/api/place/photo?maxwidth=600&key=${process.env.google_API}&photoreference=${photo_reference}`)
                        .then(function(images) {
                            return images.url
                         });
            }else{

              return photo_reference
            }

        });

        Promise.all(promiseArray).then(function(response){
            res.locals.imagesUrl =response;
            return next();
        });


##Something That I would love to add is more information about the place. i already have the APi to use for that

placestogo's People

Contributors

auryr avatar

Watchers

James Cloos avatar

placestogo's Issues

U02 -Project - add_ons

  • More info/ description on the 'places'
  • Make it prettier
    -Connect places to go / favorite places to a travel website : such as travelocity.com , possibly an API.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.