A Where is Waldo (Photo Tagging) type App made with React and Firebase. Developed for The Odin Project's curriculum.
- node >= 16.9
npm install
Builds the app for production to the dist
folder.
npm run build
Runs the app in development mode. Open http://localhost:5173/ to view it in the browser.
npm run dev
Locally preview the production build. Open http://localhost:3000/ to view it in the browser.
npm run preview
Run eslint to report linting errors.
npm run lint
Deployed to Cloudflare Pages.
Connect to Git
in Cloudflare Dashboard > Workers & Pages > Pages.- Pick your
Git
hosting service. ex.GitHub
/Gitlab
. - Select your repository.
- Pick your
Project name
. - Select the corresponding
Framework preset
in the build setting. - Add
Build command
ex.npm run build
. - Add
Build output directory
ex.dist
. - Add
Environment variables
from.env.example
. - Deploy site.
- Setup a Custom domain in Custom domains.
More on deployment to Cloudflare Pages...
Deploys are triggered on push
or pull_request
merge to master
branch.
- Connecting Firebase to a React client.
- Using Firebase as a backend.
- Using CSS Modules with SASS.
- Deploying to Netlify.
- Migrating from CRA to Vite.
- Migrating from Netlify to Cloudflare Pages.
- Deploying to Cloudflare Pages.
- Setting up a PWA with PWA Vite Plugin.
👤 Juan Carlos Lucio
- Github: @JCarlosLucio