Repo for LADOT MDS implementation for contribution to the Open Mobility Foundation. It represents what is currently up and running for Los Angeles production MDS as well as new features under development. Includes the following:
- A current LADOT implementation of all MDS endpoints
- AWS production bindings (aws-lambda)
- Development versions of mds-audit, mds-policy, and mds-compliance
- MDS logging (mds-logger), daily metrics (mds-daily) and Google sheet reporting app for technical compliance.
- PostgreSQL
- Redis
- Yarn
Install Lerna
yarn global add lerna
Install all packages. Uses Yarn workspaces.
yarn install
Now you can work with each package
cd packages/mds-audit
yarn test
yarn start
This repository is a monorepo and uses Lerna for working with its packages.
Run all test suites at once
lerna run test
Run all tests suites sequentially
lerna run test --concurrency 1
Run tests for a particular package
lerna run test --scope mds-audit
Clean all dependencies
lerna run clean
Format all files
lerna run prettier
- Select the
Node.js Express Server
debug configuration - Select the file that implements the Node/Express server for a package (typically
server.ts
) in the Explorer panel - Press
F5
- Select the
Node.js: Mocha Tests
debug configuration - Select any one of the files in a package's test folder
- Press
F5
See CONTRIBUTING.md