• This repository has been archived on 07/Dec/2022
  • Stars
    star
    523
  • Rank 84,178 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

COVID-19 Vaccine Spotter


SHUTDOWN PLANNED: VaccineSpotter.org will wind down operations on September 23, 2021. See the shutdown notice for more details. This code will remain available if it's of interest, but I haven't been actively working on things in a few months now, so I think it's time to consider this chapter closed.


A tool to help you track down COVID-19 vaccine appointment openings at your state's pharmacies. The code behind https://www.vaccinespotter.org.

UI Development Setup

Requirements:

  • Node.js 14+
  • Yarn

This process is clunky right now, so my apologies.

  1. Clone the repo: git clone https://github.com/GUI/covid-vaccine-spotter.git
  2. Install dependencies (inside the repo): yarn install
  3. Fetch data from the API for the website to run: yarn setup
  4. To run the development server for the website: yarn dev. The development site should then be available at http://localhost:3000/.

DB and Backend Development Setup

docker-compose is used to bring up a local postgres DB. Then an image runs to bootstrap the database with states and postal codes. Finally, as an example of a backend task running, a container runs the refresh-website task.

docker-compose build
docker-compose up

To run additional tasks, you can use docker-compose run:

docker-compose run --rm --no-deps task_runner bin/refresh-cvs

Very Beta API

All of the data being collected is published as JSON files here: https://www.vaccinespotter.org/api/

Subscribe to this discussion for any announcement of API changes: #27

Website Language Translations

Contributing Translations

If you would like to help translate the website content into other languages, thank you! You can perform translations and add additional languages at Localazy.

Developer Translation Workflow

  1. If you're adding new text to the website, just wrap the English text with the $t helper, like $t('my text here...').
  2. In order to translate these strings into other languages, and you have permissions to Localazy, then the steps are:
    1. Run ./bin/run locale:extract to extract any new strings into the website/lang/messages.pot file.
    2. Run ./bin/run locale:upload to upload the updated website/lang/messages.pot file to Localazy.
    3. After translations are performed, run ./bin/run locale:download to download the resulting language files.

License

This project is licensed under the terms of the MIT license.

More Repositories

1

nginx-upstream-dynamic-servers

An nginx module to resolve domain names inside upstreams and keep them up to date.
C
310
star
2

lua-resty-mail

A high-level, easy to use, and non-blocking email and SMTP library for OpenResty.
Lua
60
star
3

lua-libcidr-ffi

LuaJIT FFI bindings to libcidr. Provides CIDR calculations for IPv4 and IPv6.
Lua
47
star
4

lua-docker

Minimal, automated, and up-to-date Docker images for different Lua and LuaJIT versions.
Dockerfile
47
star
5

after_commit

A Ruby on Rails plugin to add an after_commit callback. Official fork with gem is now at:
Ruby
43
star
6

uas-parser

A user agent string parser for Node.js. Uses data from user-agent-string.info.
JavaScript
22
star
7

postgis-docker

Automated and up-to-date Docker images for all supported versions of PostgreSQL, PostGIS, and pgRouting.
Shell
20
star
8

gettext-vue

Extract translatable strings from Vue files
JavaScript
16
star
9

http-stale-cache-proxy

A non-compliant HTTP caching proxy that excels at serving stale cached content, while keeping its cache updated asynchronously.
JavaScript
15
star
10

lua-shell-games

A Lua library to help execute shell commands more easily and safely.
Lua
13
star
11

lua-icu-date-ffi

Lua
9
star
12

lua-resty-txid

Generate sortable, unique transaction or request IDs for OpenResty/nginx.
Lua
8
star
13

carrierwave-postgresql-table

Store CarrierWave files in PostgreSQL (supporting multiple versions per uploader).
Ruby
6
star
14

activerecord-postgres-dump-schemas

Define which PostgreSQL schemas to dump in your Rails db/structure.sql file
Ruby
5
star
15

bunyan-rollbar

A Bunyan stream plugin to send error logs to Rollbar
JavaScript
5
star
16

vault_env_secrets

Load secrets from Vault into environment variables (via consul-template config and with Rails integration)
Ruby
2
star
17

TS-3959

Scripts to demonstrate https://issues.apache.org/jira/browse/TS-3959
Ruby
2
star
18

fast_excel_rails

A Rails template handler for the fast_excel gem.
Ruby
2
star
19

legacy-rails-CVE-2020-5267-patch

Patch CVE-2020-5267 for Rails 4 and Rails 3
Ruby
2
star
20

secret_keys_rails

Git-friendly encrypted secrets for Rails.
Ruby
2
star
21

covid-vaccine-finder-website-data

1
star
22

postcss-relative-rem

A postcss plugin to convert rem units to units relative a CSS variable (instead of the root element's font size).
JavaScript
1
star
23

lua-openssl-ffi

Lua
1
star