Giter VIP home page Giter VIP logo

upload-client's Introduction

General Assembly Logo

File upload with express and AWS S3

Prerequisites

Objectives

By the end of this, developers should be able to:

  • Upload files from a browser

Preparation

  1. Fork and clone this repository.
  2. Create a new branch, training, for your work.
  3. Install dependencies with npm install.

Introduction

This repo is part of the browser-upload sequence. If you came here first, you likely want to go check out browser-upload repo, and come back when prompted. The api that we'll eventually use with this client is express-api-upload.

Discussion

The point of this repo is to show the difference between sending data across the internet. Up until now, we've only ever sent JSON. Using this repo in coordination with the other repos in this sequence, we'll build a full feature photo upload!

  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact [email protected].

upload-client's People

Contributors

payne-chris-r avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

upload-client's Issues

Add clarification of directory name for express-multer-api

Once you save the express-template as express-multer-api, the instructions on installation in the express template says rename all instances of express-template to name of app.

Make clear that this should match express-multer-api

Remove the httpbin part?

Trying to think of creative ways to cut this talk down, and I wonder if creating an echo server instead of using httpbin might be a better/more effective transition state?
i.e. instead of using POST httpbin you POST to localhost, and your create function in the uploads controller, it just says:

res.json({ body: req.body })

or something like that.

Break apart?

There is certainly value to "building a whole feature" in one go. However, it's also clear that by the end of a 9 hour code-along, the developers are fried. My concern is by the end they don't care and are just making sure they write what we write and not thinking about WHY. I sprinkled in why did I just write what I just wrote?s and what does this code do?s and if I change this '(data)' to '(blah)' what else do I have to change in order for my code to still work?s, but I'm still concerned there is a severe lack of understanding and more of a 'going through the motions'. Not sure how to resolve or if it's even possible...

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.