Add dependencies and configuration files. #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This request adds several classes to support a data model, configurations for TypeScript and linting, and methods for interacting with Firebase.
CI integration was excluded from this request. The project needs to be initialized in a CI/CD environment. A Google Cloud Service Account with appropriate permissions needs to be added.
Entities are provided as classes over types for use with the Firebase API. Accessor methods are provided for each entity to promote use of calling methods to access an entity's data members. A
models
directory contains plain objects for the following entities:api/firebase-donation.ts
andapi/firebase-images.ts
outline how entities may be retrieved as documents and collections from storage.Initial tests present in this request are situated side-by-side the the feature/file they test. A dedicated test directory for .spec/test files is not included. Test support includes development dependencies for:
ESLint is provided as the linter of choice with the following configuration: