GithubHelp home page GithubHelp logo

angular-uploadphoto's Introduction

angular-uploadphoto

Create a simple MEAN application to upload photo, list all photos and query photo dimensions by id.

Photo is stored in /uploads directory in the server. Photo attributes are stored in local mongodb, database photodb, collection photos and port 27017.

##Technology used: ###Environment:

  1. Angular 1.4.x

  2. Node 5.12.0

  3. Mongodb

  4. Browser tested: Chrome 51 and FireFox 47.0

  5. Framework: .* Express 4.5.1

###Libraries used:

  1. Lodash: collection utility
  2. ng-file-upload: to up select image file and upload to server via nodejs url
  3. Mongoose: Node ORM
  4. node-uuid: generate pseudo random uuid and use the value to rename image file on server side
  5. image-size: read image and return dimensions of the file
  6. multiparty: upload image file as multi-parts

##Installation:

  1. Create uploads folder under angular-uploadphoto/app
  2. Type npm install on command line to download modules to node_modules directory
  3. Type bower install on command line to download libraries to public/libs directory
  4. Start local mongodb
  5. Type node server.js to start node server
  6. Type localhost:8080 in browser to navigate to index page

angular-uploadphoto's People

Contributors

railsstudent avatar

Watchers

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