Giter Site home page Giter Site logo

meldcx-repo's Introduction

Meld CX Project

Write Three apis.

  1. post api.
  2. get api.
  3. delete api.

Configure AWS for storing files in the S3 bucket.

Complete three apis for storing, geeting and deleteing data from bucket.

Write proper unit test for three apis.

Sotring files in the local folder as well.

Project setup

npm install

Run Project

npm start

Run Tests

npm test

I didn't get enough time to complete these works.

  1. The API Server should implement configurable daily download and upload limits for the network traffic from the same IP address
  2. The API Server should have an internal job to cleanup uploaded files after configurable period of inactivity

But i can do this work. For first one i will add a field for tracking the IP address when uploading the files to S3 bucket. Also track data of download file track of this ip address. So that i can a set a initial threshold point of uploading and downloading the files. If the threshold wil cross i can easily restrict them.

For second point i can run a cron job where i will maintain another database for download track. After a certain time i will run a cron job and check the inactive files so that i can delete it easily. I just i can connect the db. Can't do the further work due to time constraint.

For integration test, i can do it using mocha.

So from overall findings everything is possible from myend.

meldcx-repo's People

Contributors

mdredone avatar

Watchers

 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.