Git Product home page Git Product logo

b64store's Introduction

b64store

Base64 Encoded 문자열을 저장/공유하는 플랫폼

b64store's People

Contributors

lisyoen avatar

Watchers

 avatar

b64store's Issues

Base64 save API

prompt
Node.js 로 아래 API 만들어줘.
필요한 module 이 있으면 설치 방법도 알려줘.

API url: /b64save
Method: POST
input body

  • filename(string): 저장할 파일명
  • b64input(string): 저장할 base64 encoded 문자열
    output body
  • filesize(number): base64 decoded 된 파일의 크기
    action
  • 입력된 filename 에 추가 확장자 .b64 를 더해서 b64input 문자열을 저장
  • 저장한 b64input 문자열을 base64 decode 해서 filename 으로 저장
  • 저장한 filename 의 filesize 를 return

filelist GET API

prompt
Node.js 로 아래 API 만들어줘.
필요한 module 이 있으면 설치 방법도 알려줘.

API url: /b64list
Method: GET
input param
<없음>
output body
Array of
filename(string): 파일명
filesize(number): 파일크기
action
현재 폴더에서 *.b64 파일을 모두 얻어온 후
filename, filesize 를 배열로 반환

설계

크게 2 부분으로 나눈다.

  1. B64 코드를 binary 로 저장하는 API (Node.js)
  2. 저장된 binary 를 listing/download 하는 웹페이지 (HTML5)

각각은 Bard 를 통해 개발한다.

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.