Giter Club home page Giter Club logo

nebulr's Introduction

NEBULR

NEBULR is a posting board for futuristic space jobs/missions. It's a web application built with Ruby on Rails, PostgreSQL, Backbone.js, Google Maps API v3, Boostrap.js, and jQuery. The basic design is inspired by airbnb.com.

Live link: nebulr.space

Main Functionality

  • Search for listings within visible map extents
  • Filter search results by date, compensation, and rating
  • Enlist in job/mission postings
  • Follow jobs/missions and receive a feed of updates on the user feed

Additional Features

  • Google Maps integration with custom imagery
  • Backbone.js communicating with a RESTful JSON API
  • Server-side searching
  • Registration/login not required until enlist or follow actions
  • Rate jobs/missions
  • Comment on users and jobs/missions
  • Polymorphic 'commentable' associations
  • Image carousel
  • Helpful alerts for every form
  • Expandable updates

Filter Methods

def self.filter_by(data_type, min, max, missions_set=false)
  missions_set ||= Mission.all

  missions_set.where(data_type => min..max)
end

def self.filter_by_title_fragment(fragment, missions_set=false)
  missions_set ||= Mission.all

  missions_set.where("title LIKE ?", "%" + fragment + "%")
end

Simple database-level filtering allows for filter chaining:

params[:search][:min_lat] && @missions = Mission.filter_by(
  :latitude, params[:search][:min_lat], params[:search][:max_lat], @missions
)

params[:search][:min_lng] && @missions = Mission.filter_by(
  :longitude, params[:search][:min_lng], params[:search][:max_lng], @missions
)

params[:search][:title] && @missions = Mission.filter_by_title_fragment(
  params[:search][:title], @missions
)

Original Design Docs

Planned Upgrades

  • Expandable comments/updates
  • Delayed registration/login
  • Pagination/infinite scroll
  • OmniAuth
  • Multiple sessions/session management
  • Markdown comments
  • Custom loading spinners
  • Mission/job editing and relisting
  • Custom infoBox for map view

Screenshots

mission/job user search

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.