Giter VIP home page Giter VIP logo

barter's Introduction

Barter

Barter is an interface that connects you to your community and allows you to trade items with other users and share the story behind them.

Barter is currently available at http://barter-app.herokuapp.com

main

Contents

Usage

Users sign in using their Facebook accounts to log in.

They can post items and use the map to browse through the posts.

map

The dashboard is used to keep track of trade requests, messages, and posts.

dashbaord

Development

Repo Organization

  • app: server-side MVC
    • controllers: controllers for API endpoints
    • models: MongoDB schema
    • views: HTML bootstrapper -utils.js: contains utility functions used in multiple controllers
  • config: middleware setup, API, other server settings
  • public: client-side code
    • controllers: angular controllers
    • services: angular services
    • styles: css stylesheet, stylus files, and images
    • templates: angular views
    • app.js: angular bootstrapper and router
  • test: server-side tests
  • server.js: starts the server

The Technology

Tech Stack:

  • Angular.js: client-side framework
  • Lodash: utility library
  • Google Maps API: map
  • Marker Clusterer: clustering library for Google Maps
  • Overlapping Marker Spiderfier: clustering library for Google Maps
  • Nodes.js: service-side app platform
    • Express.js: server-side framework
  • Mongoose.js: MongoDB ORM
  • Stylus: CSS preprocessor
  • Jade: template engine
  • Passport: user authentication
    • **Passport-Facebook: facebook user authentication
  • Superagent: light-weight progressive ajax API
  • Should: client-side HTTP request library

Dev Tools

  • git: version control magician
  • npm: package commander-in-chief for back-end libraries
  • Bower: package commander-in-chief for front-end libraries
  • Heroku: server

Challenges

  • Getting Google Maps to work efficiently with Angular was a significant issue. Connections between the two took some time because changes inside the map were not directly noticed by Angular; however, using $rootScope.$digest to update the views solved this issue.

  • Another obstacle was to design for a fluid and intuitive user experience. This was accomplished by allowing instant search in the sidebar and by using two versions of clustering to simplify the geospatial search process.

Author

Ryan Roxas

barter's People

Contributors

rohaus avatar

Stargazers

Amos avatar Kapya avatar Mike Nason avatar Curtis Mitchell avatar Sara Binns avatar Yönet avatar Will Ngo avatar Santiago Archila avatar Danny Nelson avatar Christian Monaghan avatar Woon Ket Wong avatar Tyler McGinnis avatar Brett Hoyer avatar andre evangelesta avatar Brian Weidenbaum avatar Noah Harris avatar Shanshan Zhu avatar Gavin Shriver avatar Jeff Lee avatar lazarus avatar Rich Parrish avatar Peter Hayes avatar Patrick avatar Kate Mercado avatar David Ryan Hall avatar Collen Jones avatar Adam avatar Joey Yang avatar Leighton avatar  avatar Ken Huh avatar Ben Martin avatar Daniel Liebeskind 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.