Git Product home page Git Product logo

chinga-la-migra's Introduction

chinga-la-migra

This is an open map for marking police/I.C.E./homeland security checkpoints. While not the best/safest solution to the problem, it does provide a quick-and-easy way for anyone to add the to an already-existing website. Chinga-La-Migra is entirely front end and is designed to work out-of-the-box, regardless of your back end.

Because anyone can click on the map to add checkpoints and the API is public, it's best to share the URL with only people you trust and keep it off social media.

Check out the Demo to test capabilities.

##Installation

git clone https://github.com/crashspringfield/chinga-la-migra/
  • Set up public API and image uploading capabilities
  • Attach to any site as-is

Setup for public API

  1. Sign up at Mlabs.com
  2. Create a database and collection (I use "checkpoints" for both)
  3. Create and enable a public API key
  4. Update the GET and POST requests in map-service.js For example: https://api.mlab.com/api/1/databases/database_name/collection_name?apiKey=your_API_key (replace datebase_name, collection_name, and your_APY_key)

Setup for image uploading

  1. Sign up at Cloudinary.com
  2. Add your "Cloud Name" to line 80 of map-controller.js
  3. Enable uploading for unsigned photos and add your "Upload Preset" to line 84 of map-controller.js

Contributing

If there's a feature you'd like to see, raise an issue.

License

MIT

chinga-la-migra's People

Contributors

matthewboman avatar

Stargazers

Jackson Callaway avatar Dave Justice 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.