Skip to content

NewPal/NewPal-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#NewPal Platform

####Developed in Hack Upon A Cause Hackathon, Saturday, Feb 08 2014

#Overview

A low tech SMS (messaging) platform for volunteers and communities in remote places of the world for tracking disruptions, changing community situations including violence and human trafficking thus enabling monitoring and providing government and non-government agencies the information to align and respond to life changing trends.

Backend Architecture

Service written in Rails, which receive and sends SMS messages using Twillio interface. Messages are saved and indexed in a DB with the following columns: Country, State, City, PhoneNumber, ZipCode, MessageBody, UserId.

API

The service exposes a RESTful API (Using Json), Allowing client to query for all or parts of the messages.

Resource

#####/messages/index.json

####Parameters optional - state, country, city, phoneNumber, ZipCode

Examples

/messages/index.json?state=CA

/messages/index.json?phone=13478190642

/messages/index.json?phone=13478190642&state=NY

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published