Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Made with love by Notts. 🥐 🥖 🍞 🥨 🥯 🧇 🥞 🧁

Bread Map

Bread Map is a small map for bakery memories.

My girlfriend and I both love bread, and we love travelling. Whenever we find a bakery that makes us stop and look twice, we want to save more than its name: the place, the bread, and the feeling of being there together. Bread Map grew from that wish—a way to keep those moments somewhere we can return to later.

Bread Map landing page

The idea

Find a bakery, pin it on the map, add one photo, and write down the detail you would otherwise forget. Over time, the map becomes a shared trail of places, travels, and good bread.

Bread Map journey page

The About page captures the spirit of the project:

Bread Map About page

Run locally

Prerequisites

  • Node.js
  • npm
  • Docker Desktop
  • Supabase CLI

Start Supabase from the backend folder:

cd backend
supabase start

Start the web app from the web folder:

cd web
npm run dev

Open the app at http://localhost:3000.

Supabase Studio usually runs at http://127.0.0.1:54323.

Environment

Create web/.env.local for local frontend configuration:

NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-local-anon-or-publishable-key
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=your-mapbox-public-token

NEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY is also supported as a fallback for newer Supabase projects. Do not commit .env files.

Supabase changes

Create a migration from the backend folder:

cd backend
supabase migration new init_schema

Apply local migrations and reset the local database:

supabase db reset

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages