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
- Sign up at Mlabs.com
- Create a database and collection (I use "checkpoints" for both)
- Create and enable a public API key
- 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)
- Sign up at Cloudinary.com
- Add your "Cloud Name" to line 80 of map-controller.js
- Enable uploading for unsigned photos and add your "Upload Preset" to line 84 of map-controller.js
If there's a feature you'd like to see, raise an issue.
MIT