Skip to content

yunseop-kim/firebaseShortenUrl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firebaseShortenUrl

해당 프로젝트는...

  1. 파이어베이스 데이터베이스가 필요합니다.

  2. Google API Console에서 shortner api 생성 및 활성화가 필요합니다.

  1. API

    1. /addLink
      • request body
        • { "url" : "http://www.naver.com" }
      • response
        • { "key": "-L5Ib4h_sHnRI4JPKetO" }
    2. /app/shorten/:key
      • addLink에서 얻은 key 값을 params에 요청합니다.
      • 여기는 html로 렌더링을 해줍니다. 테스트 용도로 만든거니 참조하길 바랍니다.

About

url shortening using firebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published