Code Monkey home page Code Monkey logo

backphotosin's Introduction

node-express-file-form-upload-demo

This is a repo as part of a blog post on how to achieve creating a web form that submit's users files to a temporary folder on your Node.js app's server.

Blog Post/Tutorial

https://medium.com/@Moonstrasse/how-to-make-a-basic-html-form-file-upload-using-multer-in-an-express-node-js-app-16dac2476610

Node.js Solution Dependencies

-express -multer -body-parser

Install this solution to run locally

  1. FORK /CLONE Get over to github and clone or fork/clone… (if you want to help me make it better, (yes, please!)) … my demo repository for this solution. https://github.com/Lazercat/node-express-file-form-upload-demo.

  2. INSTALL NPM PACKAGES Once cloned locally, run an npm install from your command line (bash/terminal) in the root folder where App.js is. npm install

  3. RUN THE APP I included the nodemon package in this project, so to run this solution on your localhost just type the following code. As you make changes, nodemon will automatically re-run it for you -neato, huh? nodemon App.js

  4. VIEW/TEST LOCAL Visit http://localhost:3000 in your web browser to check out this solution.

backphotosin's People

Watchers

James Cloos avatar Juan Manuel Vazquez 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.