Coder Social home page Coder Social logo

parking's Introduction

Parking

주차장 실시간 정보를 확인할 수 있는 사이트


1. 실행방법

1. git pull https://github.com/pangkyu/Parking.git
2. yarn install
3. yarn run dev

parking's People

Contributors

pangkyu avatar

Watchers

 avatar

parking's Issues

Bugs : vercel 배포 시, API GET 에러

로컬에서는 정상적으로 데이터 받아와짐.
VERCEL환경에서 배포 시 데이터 GET시 에러

이유 :
image

  • Mixed Content 이슈
  • https페이지에서 http 리소스를 요청할 수 없음.
  • API를 받아오는 사이 서울 열린 데이터광장에서 https 형식을 지원하지 않음.

해결 방안

  1. 요청 프로토콜 업그레이드하기
  2. 프록시 서버를 만들어 우회하거나 백엔드 서버를 만들어 http로 요청을 받은 후 클라이언트에 https 방식으로 보내기

Bugs : 디테일 페이지 진입 시 get 데이터 버그

  <tr
            key={item.PARKING_CODE}
            className="h-[40px] cursor-pointer"
            onClick={() => handleRouting(item.PARKING_CODE)}
   >

클릭 이벤트로 클릭된 아이템의 파킹코드를 넘기고 해당 코드로 라우팅과 데이터를 가져오는 방법으로 접근했으나,
파킹코드와 별개로 데이터가 관리되므로 다른 방법으로 서칭할 방법이 필요함


가장 첫 번째 데이터에 접근하는 xml 데이터.
파킹코드로 검색불가함.

image

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.