jowoni / team-project-team10

Multi Location based gathering place recommendation service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WhereShallWeMeet

Multi Location based gathering place recommendation service. demo

TL;DR

http://165.194.35.214:13000

  1. Input your want to do as keyword at What you want to do? box.
  2. Click AND or OR button to combine your input keywords with conditions.
  3. Click Add Member button to add user starting place. (at least more than 2 places needed.) Input alias name for place at first, then input 도로명 주소 or 지번 주소 for location in Korean.
  4. Click Assemble! button. done!
  5. If you want to show route from each members to WSWM point, click Find Route buttom.

History

NaverAPIServer <-> Client <-> Browser

  • It ocurres CORS policy issues.
  • It forces every single developers to contribute have to create their own NaverAPI.

NaverAPIServer <-> NodeJsExpress <-> Client <-> Browser

  • It resolves CORS policy issues.
  • Only NodeJsExpress needs to authenticate with NaverAPIServer

Using FelixSeol repository. Replace to CAU-OSS-2019/team-project-team10

Change Naver API -> Kakao API

Delete SEARCHED_PLACES nav. Buttons are restyled as bootstrap style.

Tutorial

How to use Kakao Maps API with Proxy Server

  • js/searchPlace.js
function searchPlace(_keyword, _coordinate, _radius) {
    return new Promise(function (resolve, reject) {
        fetch(`http://165.194.35.214:26756/searchPlace/?keyword=${_keyword}&coordinate=${_coordinate}&radius=${_radius}`)
            .then(function (res) {
                // Response as Promise
                res.json().then(body => {
                    
                    /*To implement code with returned promise object.*/
                    
                }).catch(err => {
                    console.error(err);
                    reject("Error fetching.")
                });
            });
    })
}

About

Multi Location based gathering place recommendation service.

License:MIT License


Languages

Language:JavaScript 95.6%Language:HTML 3.6%Language:CSS 0.7%