Giter Club home page Giter Club logo

electron-uploader's Introduction

Electron Uploader Project

1. Setup and run local react app

npm install

npm start

2. Setup and run local dummy file uploader server

cd server

npm install

npm start

3. copy image files to another directory

copy the files in ./image_files/* to another directory on your disk make a note of this directory

4. edit the list of files

edit the list of files in /src/Uploader.js to match the location in 3.

5. implement the onClick

  • implement the Upload button in /src/Uploader.js to upload the files in the list.
  • Assume this will involve calling nation fs library functions with electron.
  • prompt the user for permissions to access the directory the files are stored in (see 3). handle any security dialogs
  • upload the files to the dummy server (see 2) above to "http://localhost:8080/upload".

6. implement call backs

implement call backs to update the alert component in /src/Uploader.js to display that the file has been uploaded

7. Create build files

  • update the sign_and_build_mac.sh with commands to build for mac
  • update the sign_and_build_windows.bat with commands to build for windows

electron-uploader's People

Contributors

spuggy 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.