Colouring Montreal - part of the Colouring Cities Research Programme (CCRP)
Go to file
Maciej Ziarkowski 185a94b5cb Add user delete API endpoint
The deleted user username will be changed to 'deleted_'
plus the 13 initial characters of the standard format user_id.
Email, hashed password and API key are all cleared for the user.
The endpoint is currently only available through /api/users/me
and only allows a logged-in user to delete their own account.
2019-08-15 16:12:01 +01:00
app Add user delete API endpoint 2019-08-15 16:12:01 +01:00
docs Simplified GLA GeoJSON boundary 2019-08-02 10:39:46 +01:00
etl Modify routes, refactor API structure 2019-08-14 14:05:49 +01:00
html Update index.html 2019-08-06 16:38:42 +01:00
migrations Add user delete database migrations 2019-08-15 16:08:36 +01:00
provision Include pg_trgm in postgres vm install 2019-04-09 09:34:46 +01:00
.all-contributorsrc docs: update .all-contributorsrc 2019-03-22 09:13:00 +00:00
.gitignore Sketch in vagrant provision script 2019-03-05 10:04:24 +00:00
.travis.yml Use npm ci to match package-lock.json 2019-02-23 15:34:29 +00:00
ecosystem.config.dev-template.js Fix missing comma in config template 2019-05-02 19:31:40 +01:00
ecosystem.config.template.js Add template pm2 ecosystem files 2019-03-18 21:18:01 +00:00
LICENSE Initial commit 2018-03-22 21:25:22 +00:00
README.md Add example run to README 2019-06-07 13:21:44 +01:00
Vagrantfile Forward vagrant ports 3001:3001 and 5432:6543 for razzle and Postgres 2019-04-09 09:29:30 +01:00

Colouring London

All Contributors Build Status

How many buildings are there in London? What are their characteristics? Where are they located and how do they contribute to the city? How adaptable are they? How long will they last, and what are the environmental and socio-economic implications of demolition?

Colouring London is a web-based citizen social science project designed to help address these questions by crowdsourcing and visualising twelve categories of information on Londons buildings.

Structure

This repository will contain open-source code for the project which:

  • stores building footprint polygons and source metadata
  • allows site users to record building attribute data
  • serves map tiles rendered from collected data
  • allows site visitors to download the collected building attribute data

Building attribute data collected as part of the project will be made available for download under a liberal open data license (ODbL).

Setup and run

  1. Provision database (see migrations)
  2. Load buildings and geometries to database (see etl)
  3. Install app dependencies: cd app && npm i
  4. Run tests: npm test
  5. Run app: npm start

In development, run with environment variables:

APP_COOKIE_SECRET=test_secret \
PGHOST=localhost \
PGUSER=dbuser \
PGDATABASE=dbname \
PGPASSWORD=dbpassword \
PGPORT=5432 \
TILECACHE_PATH=/path/to/tilecache/directory \
    npm start

Acknowledgements

Colouring London is being designed and built by the Centre for Advanced Spatial Analysis (CASA), University College London and funded by Historic England. Ordnance Survey is providing building footprints required to collect the data, facilitated by the Greater London Authority (GLA), and giving access to its API and technical support.

License

Colouring London
Copyright (C) 2018 Tom Russell and Colouring London contributors

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

Contributors

Thanks goes to these wonderful people (emoji key):

polly64
polly64

🎨 🤔 🖋 🔍
Tom Russell
Tom Russell

🎨 🤔 💻 📖
dominic
dominic

🤔 🖋
Adam Dennett
Adam Dennett

🤔
Duncan Smith
Duncan Smith

🤔
martin-dj
martin-dj

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Even more thanks go to Colouring London contributors, funders, project partners, consultees, advisers, supporters and friends - everyone involved in the project.