- Express, a web application framework. This is the server side of Streetmix. It handles HTTP requests and serves files and data requested by the front end.
- PostgreSQL, a relational database. All the data on the server is stored in PostgreSQL.
- PostGIS, PostGIS is a spatial database extender for PostgreSQL, adding support for geographic objects.
- React, a front-end user interface framework. Most UI is rendered with React.
- Redux (with Redux Toolkit), a state management framework that usually works alongside React. We maintain most application state in Redux, using Redux Toolkit to help make it easier to write code for Redux.
- Sass, an extension of CSS that allows us to use variables and calculate values.
- PostCSS, a CSS processor. It provides a lot of functionality, such as the ability to automatically prefix CSS properties for browser compatibility.
We pin our dependencies, which means that we specify exact dependency versions, not version ranges, in
package.json. This allows Streetmix to run with the greatest reliability and consistency across different computing environments.
Because Streetmix is an application, and it’s not intended to be imported by other applications, we don’t need the flexibility that comes from using version ranges. As a result, all developers, and any deployment environments, are running the same code for any given commit. This consistency makes obscure bugs easier to track down and resolve.
The tradeoff is that this introduces “upgrade noise”. We have used Dependabot and Greenkeeper, which are automated services that create pull requests whenever a dependency has updated. Because we have pinned dependencies, these services create a new branch and opens a new pull request for every depedency update, no matter how minor. We will turn these services off when we need to limit the noise.
Because of limited resources, browser support is any of the evergreen desktop browsers (e.g. Firefox, Chrome, Safari, and Edge). We do not support Internet Explorer.
Mobile support is also limited, because the application was not initially designed for mobile. However, we should be supporting tablet devices such as iPads and laptops with touchscreens.