Giter Site home page Giter Site logo

direct-effect's Introduction

Direct Effect

When I brought the idea for the My Brother's Keeper open source project to Code for Philly, I wanted to challenge myself to build the project on my own at the same time. I thought this would be an awesome way learn and experiment with different design and architectural choices without risking cluttering up the repo for my teammates on the My Brother's Keeper project.

Different Features of Direct Effect vs. My Brother's Keeper

  • Use the Devise gem to implement two User Models - "User" for Charity Organization Members who need to log in to use the app, and "Admin" for myself (i.e. any site administrator)

  • Allow users to create their own accounts, automatically sending the Admin an email notification that a new user is pending approval. The Admin's main root page after login contains a list of all Users and their approval status. User accounts only become accessible when the Admin approves them.

  • Store long/lat coordinates as decimal values on the Organizations model instead of using PostGIS for a spatial point factory column. Move the point factory object into the controller. Pass the long/lat values in as variables when the GeoJSON object is created for the Organization's data to be displayed in the map UI.

  • Use a map that shows more detail such as nearby Septa train stops.

  • Store Comments as a column on the Needs model instead of creating a Comments Model.

Getting Started

We recommend Homebrew for macOS users to simplify installation of dependencies.

Developers will need to manually install Ruby and PostgreSQL if you don't already have them. These links provide detailed instructions for users of various operating systems.

Ruby v. 2.4.1 is the specific version currently in use in the project. Assuming you already have RVM, you can run:

rvm list

to check if you already have this version available. If not, run:

rvm install ruby-2.4.1

Once you've cloned and set up this environment, bundle install will take care of your other gem dependencies.

direct-effect's People

Contributors

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