Git Product home page Git Product logo

deploy's Introduction

deploy's People

Contributors

kimdozzi avatar

Watchers

 avatar  avatar

deploy's Issues

[FEAT] 파일 시스템 구현 - Step01

Step 1. 파일 업로드, 삭제

구현사항

  • 우선, 폴더는 없다고 생각하고 파일 업로드를 진행해봅시다.
  • 파일을 업로드 할 경우, 관련된 메타데이터를 DB에 저장해야 합니다. 필수적으로 저장해야 할 데이터를 고려하여 DB에 저장하도록 해 주세요.
  • 로그인은 구현하지 않을 것 입니다. 따라서 업로드한 유저의 정보도 같이 전달해 주도록 하세요.
  • 서로 다른 사용자가 같은 이름의 파일을 업로드 할 수 있습니다. 이 경우, 서버에 저장되는 파일 이름은 어떻게 해야할까요?
    동일하게, 파일 삭제도 구현해 주세요.
  • 당연하지만 파일이 존재하지 않으면 오류를 반환해야 합니다. 물리적으로도 삭제되도록 해 주세요.
  • 파일 다운로드도 구현해야 합니다.
  • 우선은 본인이 만든 파일이 아니면 다운이 불가능하게 설정해주세요.

프로그래밍 요구사항

  • 파일 시스템의 관점으로 접근해 봅시다. 실제 파일과 메타데이터는 어떻게 매칭되어야 할까요?
  • 물리적 I/O 요청이 코드에 잔뜩 포함되어 있을 수 있습니다. 관점을 잘 분리해서 코드를 작성해 주세요.

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.