Giter Site home page Giter Site logo

fileupload's Introduction

Edit Settings.json

  1. Enable emmet in visual code click setting -> command pallete -> (keyword settings json) input code: "emmet.includeLanguages": { "javascript": "javascriptreact" }

Install node modules

  1. set to root folder and type in terminal npm install
  2. set to client folder cd client npm install
  3. remember server and client packages are separated node modules.

Initialize Server Project

  1. npm init -y ---> create package.json file
  2. npm i express express-fileupload
  3. npm i -D nodemon concurrently ----> install running server (nodemon) install proxy server (concurrently)

Initialize Client Project

  1. npx create-react-app client ----> create folder with react components remove serviceworker.js, logo.svg, index.css, app.test.js
  2. add proxy in package.json (react components) "proxy": "http://localhost:3001"
  3. cd client (react components) npm i axios (fetch data) cd .. (go to root folder)

Additional

  1. get bootstrap grab the css link and js files

    paste in public/index.html header for design purposes. <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>

#Website References to check

article https://codeforgeek.com/multiple-file-upload-node-js/ multiple upload watch https://www.youtube.com/watch?v=3f5Q9wDePzY mongodb,multer upload

fileupload's People

Watchers

James Cloos 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.