https://github.com/jcarloslucio/where-is-waldo
A Where is Waldo type App made with React and Firebase.
https://github.com/jcarloslucio/where-is-waldo
firebase react theodinproject
Last synced: about 2 months ago
JSON representation
A Where is Waldo type App made with React and Firebase.
- Host: GitHub
- URL: https://github.com/jcarloslucio/where-is-waldo
- Owner: JCarlosLucio
- Created: 2020-10-15T23:19:01.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-03T07:35:32.000Z (over 1 year ago)
- Last Synced: 2025-04-10T20:22:54.770Z (6 months ago)
- Topics: firebase, react, theodinproject
- Language: JavaScript
- Homepage: https://lucio-where-is-waldo.pages.dev/
- Size: 6.78 MB
- Stars: 3
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# findUs (WHERE IS WALDO) 👋

[](https://github.com/JCarlosLucio/where-is-waldo#readme)> A Where is Waldo (Photo Tagging) type App made with React and Firebase.
> Developed for The Odin Project's
> [curriculum](https://www.theodinproject.com/lessons/node-path-javascript-where-s-waldo-a-photo-tagging-app).## ✨ Demo
[](https://lucio-where-is-waldo.pages.dev/)
## 📜 Docs
### Prerequisites
- node >= 16.9
### Install
```sh
npm install
```### Build
Builds the app for production to the `dist` folder.
```sh
npm run build
```### Develop
Runs the app in development mode. Open
[http://localhost:5173/](http://localhost:5173/) to view it in the browser.```sh
npm run dev
```### Preview
Locally preview the production build. Open
[http://localhost:3000/](http://localhost:3000/) to view it in the browser.```sh
npm run preview
```### Lint
Run eslint to report linting errors.
```sh
npm run lint
```## 🚀 Deployment
Deployed to [Cloudflare Pages](https://pages.cloudflare.com/).
1. `Connect to Git` in **Cloudflare Dashboard > Workers & Pages > Pages**.
2. Pick your `Git` hosting service. ex. `GitHub` / `Gitlab`.
3. Select your repository.
4. Pick your `Project name`.
5. Select the corresponding `Framework preset` in the build setting.
6. Add `Build command` ex. `npm run build`.
7. Add `Build output directory` ex. `dist`.
8. Add `Environment variables` from `.env.example`.
9. Deploy site.
10. Setup a Custom domain in **Custom domains**.[More on deployment to Cloudflare Pages...](https://vitejs.dev/guide/static-deploy.html#cloudflare-pages)
### Triggering a Deploy
Deploys are triggered on `push` or `pull_request` merge to `master` branch.
## Lessons Learned
- Connecting [Firebase](https://firebase.google.com) to a React client.
- Using [Firebase](https://firebase.google.com) as a backend.
- Using [CSS Modules](https://github.com/css-modules/css-modules) with
[SASS](https://sass-lang.com/).
- Deploying to [Netlify](https://www.netlify.com/).
- Migrating from [CRA](https://create-react-app.dev/) to
[Vite](https://vitejs.dev/).
- Migrating from [Netlify](https://www.netlify.com/) to
[Cloudflare Pages](https://pages.cloudflare.com/).
- Deploying to [Cloudflare Pages](https://pages.cloudflare.com/).
- Setting up a PWA with [PWA Vite Plugin](https://vite-pwa-org.netlify.app/).## Author
👤 **Juan Carlos Lucio**
- Github: [@JCarlosLucio](https://github.com/JCarlosLucio)