Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.
/ deliverychimbote Public archive
forked from covid19-group/dinecph

Official repository for the Delivery Chimbote project.

License

Notifications You must be signed in to change notification settings

abig/deliverychimbote

 
 

Repository files navigation

Delivery Chimbote

This project is forked from the original, designed for Copenhagen. It's source code is visible in GitHub.

Prerequisites

You will need:

  1. An idea of how to set up a Next.js web-app.
  2. An API key to use Google Maps + Geocode (see Maps documentation). Due to not being able to restrict usage of the API key being used server-side, the repository is currently setup with two Google API keys: one is being used on the client – therefore publicly visible – so it can be domain-restricted; the other is only used server-side, not publicly visible, and not domain-restricted. You may want to change this setup depending on how you choose to deploy.
  3. An Airtable base with the same form fields as are used on the map and list pages. You'll need an API key + a base key (the ID of your Airtable base) as well.

Setup

  1. Run yarn.
  2. Copy the template file .env.example to .env.local and populate with keys from earlier.
  3. Done.

Development

Run yarn dev to start the development loop.

Deployment

This project is deployed with Cloudflare Pages but it could be deployed wherever.

Local projects

About

Official repository for the Delivery Chimbote project.

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 96.7%
  • CSS 2.2%
  • Shell 1.1%