GithubHelp home page GithubHelp logo

short-url's Introduction

short-url

URL을 짧게 만들어주는 프로젝트입니다.

Requires

  • Node 18 또는 그 이상의 버전
  • Bun 1.0.35 또는 그 이상의 버전
  • Supabase

Supabase Table 구조

redirection_url 이라는 이름의 Supabase Table이 설정되어있어야 합니다.

Name Format Description Note
id bigint primary key
created_at timestamp with time zone created date
updated_at timestamp with time zone updated date
source string short-url code (e.g. AsDisv)
destination string destination URL
count bigint count of how many this link used
owner uuid created user forign key : auth.id

environments values

Key description
NEXT_PUBLIC_BASE_URL 리다이렉트시에 앞에 붙혀줄 URL
NEXT_PUBLIC_SUPABASE_URL Supabase URL
NEXT_PUBLIC_SUPABASE_ANON_KEY Supabase Anon Key
SUPABASE_SERVICE_KEY Supabase Service Key

How to run

  1. environments values 섹션을 참고하여 env를 작성해주세요.
  2. bun install 을 통해 dependencies를 설치해주세요
  3. bun dev 를 통해 로컬 서버를 실행시킬 수 있습니다.

API Document

TBD

short-url's People

Contributors

nabi-chan avatar

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.