This is a boilerplate mobile hybrid app for I/O with maps. The idea is that many civic apps have to do with reporting things as people see them. That means people are mobile, they're talking about things that are mappable, and they're reporting those things and getting those reports (I/O). These were the three key things that drove this project, in addition to the frequent reinvention of this sort of generic app infrastructure ad-hoc.
Now, if you want to make an app for your neighbors to report broken streetlights, fork this repo. If you want to make an app for your community to report code violations, fork this repo. If you want to make an app to post all your favorite resturants, fork this repo. You can do all those things out of the box. If you want to make this into something slightly different, like a system that connects businesses and hungry people, follow these instructions to start developing:
- Install npm, mysql, and a web server
- Copy .env.example to just .env and add your secret keys/config
- Import api/reports.sql
mysql -u[username] -p[password] -h[hostname] [database] < api/reports.sql
- Update ionic.config.json
proxyUrlvariable to point to your API (ignore if using defaults)
sudo npm startto run server
ionic serveto run app
- Build app for android
ionic build android, usually saving to
- Check out the CONTRIBUTING.md file for how to contribute back
This software is licensed to Andrew Nelson, see the LICENSE file. If you would like an exception to this license for commercial/proprietary derivative work, please email me.