Code Monkey home page Code Monkey logo

instasham's Introduction

#Instasham

##Why? We want to create a sham'tastic app which will upload your favorite images by feeding a URL into an input box. It a fun exercise for us to learn:

  • REDIS - a non relational database
  • Relation between db, server and front end.
  • Data structures
  • Using XML HTTP requests
  • More Node.js

##What?

A form of wierd, shammy instagram! The index page has a selection of 12 images, information about the user and the time of upload. At the center of the page there is an input box into which the user can insert the image URL. The page will reload and refresh the image selection every time a user input a new image URL.

##How?

On load, the page will send a GET request which will check the DB for images and upload the public file, containing the front end files. once the url has been put in by the user, a POST request is send to server and the new information is added to the database. Once the post is sent, the server sends back a message which will trigger the refreshing of the DOM and upload the last 12 items in the array stored int the db. this will include the most recent image added as well as the other 11 images stored before it.

HVAE FUN! :)

instasham's People

Contributors

g-sam avatar richawarren 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.