Filter Covid19 Mutual Aid groups by location
This app deploys on AWS and does several things:
Backend
A Lambda function scrapes the existing google docs spreadsheet for all the groups, geocodes these groups from the provided location string and populates a serverless instance of DynoDB with the entries (removing duplicates). Several more Lambda functions sit in front of this to provide a minimal REST API for the client
Frontend
The client pulls the (large) array of all the geocoded groups and renders it into an interactive map, enabling users to sort by distance against a provided address. A separate UI is also provided that enables users to add groups.
Built with
- Serverless
- Typescript
- React
- Google Maps API
Developing
- Clone the repository
- Run
yarn install
- Run
yarn start
Check the package.json
file for commands to run the client and server separately
Deploying
- Set up your AWS keys in a serverless profile with these instructions
- Get a google API key
- Create a file called
.env
in/lambdas
and add this lineGOOGLE_API_KEY=YOURAPIKEYHERE
replacingYOURAPIKEYHERE
with your API key - Run
serverless deploy