Code Monkey home page Code Monkey logo

tacocat-gallery-react-ampersand's Introduction

A HTML5/javascript front end for tacocat.com's photo site.

Technologies

Uses the following technologies:

  • React.js: A component-based Javascript View layer that I'm madly in love with. So much easier than Backbone views. And so fast.
  • Ampersand.js: Very similiar to Backbone.js but fully embraces tiny modules, npm, and browserify. I use it for its Models and Routing, not its Views.
  • Browserify: The first javascript dependency management system that I can actually get working and KEEP working without having to think too hard. I hate Require.js and AMD. Browserify does its business using NPM and Node.js and I love it.
  • Gulp.js: A javascript build system that replaces Grunt.js. Faster, easier to use.

Retrieves album data from tacocat's ZenPhoto installation. Depends on this prototype JSON REST backend (github).

How To Work With Project

Install prerequisites

  1. Git - source control tool. Needed to retrieve this project from github.com
  2. Node.js - Node.js server. Needed to manage development tools & run dev webserver. Not used at runtime
  3. Compass - SASS CSS processor
  • This will require installing Ruby. I highly recommend using RVM instead installing Ruby directly.
  1. Bower - a javascript package manager.
  • To install: npm install -g bower

Install project

  1. Open terminal / shell
  2. cd to directory under which you want to create project
  3. Get this project via git clone [url to this project]
  4. cd into project
  5. Install the project's npm dependencies: npm install (must be in project root dir)
  6. Install the project's bower dependencies: bower install (must be in project root dir)

Run project

  1. cd into project
  2. Run project: gulp watch. This will compile the code and start a development web server.
  3. Open browser to localhost. In the output of gulp watch, it'll tell you what port the web server's on.
  4. In the browser you should the root gallery of tacocat.com. If you don't, look in your browser's javascript console for what's going on.

tacocat-gallery-react-ampersand's People

Contributors

deanmoses avatar moses-salesforce avatar

Stargazers

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