This is a single-page React app that uses Vite's build system.
If you're new to Vite, it has a lot of common defaults including Typescript, CSS Modules, glob importing. Please take a look at what's already available before installing plugins.
- Clone this repo.
- Set to node version 18.x, using nvm or similar
npm run devto start the Vite server.- Visit
http://localhost:3000to see your app. - Make changes to the code to see it update live.
Make an .env file in the root directory and store your key as shown in the .env.example file. You will need the following keys and IDs in your .env file
- Google Maps API key: You can get an API key by following the instructions from Google here.
- Map ID: Ask Jacob for this.
npm run build- See vitejs.dev for other plugins and tooling, such as using Env variables
npm install -g firebase-toolsfirebase loginfirebase deploy** should need google cloud console access to sendchinatownlove project
- this app was built using node 14 and yarn
- currently working tenously with node 18 and npm
- looks like the google apis and may other packages are reaching end of life
- our airtable data source has been moved and broken
- the data has been manually added to the repo for the time being