Coder Social home page Coder Social logo

20220307readdir's Introduction

完成一个页面,包括前端和后端:

假定环境变量中有一个目录DATA_DIR=/some/path

  1. 展示DATA_DIR下的一级目录和文件及大小

  2. 每10秒刷新一次

要求:

0.充分理解需求,完成符合描述,有限且完备的功能

1.工业级实现,工业级实现,工业级实现

2.良好的工程习惯,良好的工程习惯,良好的工程习惯

3.后端:语言不限

4.前端:方式不限,如有相关经验,请使用React/Vue/Angular等框架

项目目录简介:

routes/index.js 主接口文件,文件监听,文件目录内容读取与更新到缓存文件

utils/readFile.js 工具类文件,递归读取文件夹及文件大小

views/ 主要页面

.env 环境变量管理

serverOpts/* https秘钥对

bin/http2.js http2 spy版本的 服务器

20220307readdir's People

Watchers

Yunlong Jiao 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.