Find somewhere worth going to.
CAFÉTA is a local café discovery and community platform built for Basilan, Philippines. It brings cafés, coffee shops, milk-tea shops, menus, reviews, community Memories, and location-based discovery into one experience so people can decide where to go with more confidence.
Instead of being only a directory or a map, CAFÉTA connects the full discovery journey:
Discover → Explore the Map → View a Business → Check the Menu → Read Reviews → See Memories → Save → Visit → Share
Designed and developed by Jaymar Maruji.
- About CAFÉTA
- Why CAFÉTA Exists
- Product Vision
- Core Features
- How CAFÉTA Works
- User Experience
- Business Experience
- Memories
- Reviews
- Map and Discovery
- Authentication and Onboarding
- Technology Stack
- Architecture
- Database
- Storage and Media
- Security and Row Level Security
- Project Structure
- Application Routes
- Getting Started
- Environment Variables
- Supabase Setup
- Development
- Design System
- Privacy and Terms
- Project Status
- Roadmap
- Developer
- License
CAFÉTA is designed to make discovering local places easier, more useful, and more community-driven.
A normal search can tell someone that a café exists. CAFÉTA is intended to help answer the questions that come after that:
- Where is it?
- Is it near me?
- What kind of place is it?
- What is on the menu?
- What are its opening hours?
- What do other people think?
- What does the place actually feel like?
- Is it worth saving for later?
- How do I get there?
CAFÉTA combines business information with community experiences so users can move from searching to deciding to visiting without jumping between multiple platforms.
The platform currently focuses on cafés, coffee shops, milk-tea shops, bakery cafés, restaurant cafés, and related local places in Basilan.
Local businesses can be difficult to discover when their information is spread across social-media pages, map listings, posts, stories, menus, and word of mouth.
At the same time, customers often want more than a business name and address. They want to know what a place serves, whether it is open, what it looks like, what other customers experienced, and whether it fits what they are looking for.
CAFÉTA brings those pieces together.
Local discovery is often fragmented:
- Business information can be incomplete or scattered.
- Menus may be difficult to find before visiting.
- Social posts show experiences but are not organized around discovery.
- Map results can provide location without enough local context.
- Small local businesses may have limited visibility.
- People often rely on friends or separate social platforms to understand the atmosphere of a place.
CAFÉTA combines:
Place discovery + structured business information + menus + reviews + community Memories + maps
The goal is not simply to list businesses. The goal is to help people find somewhere worth going to.
CAFÉTA begins with Basilan and is built around local discovery.
Its product philosophy is simple:
A map shows you where. A Memory shows you what it felt like.
The map helps people discover a place.
The business profile gives them the important details.
The menu helps them decide.
Reviews provide community feedback.
Memories show real experiences.
Saved places help users return later.
Together, these features create a local discovery platform rather than a traditional business directory.
Users can explore businesses geographically instead of browsing a plain list.
CAFÉTA supports discovery concepts such as:
- Coffee shops
- Cafés
- Milk-tea shops
- Nearby places
- Business locations
- Memory activity
- Trending or active places based on community activity
Business markers connect directly to their CAFÉTA business profiles.
Each approved business can have a dedicated public profile containing information such as:
- Business name
- Category
- Description
- Logo
- Cover image
- Address
- Barangay, city, and province
- Map coordinates
- Contact information
- Social-media links
- Operating hours
- Menu
- Reviews
- Memories
- Verification state
The profile acts as the central page for understanding a place.
Business owners can organize menu items into their own categories.
A menu can contain:
- Category
- Item name
- Description
- Price
- Image
- Availability
- Display order
CAFÉTA does not force every business into the same menu structure. Owners can create categories that match what they actually serve.
Authenticated users can review businesses.
Reviews support:
- 1--5 star ratings
- Written review content
- User identity
- Creation and update timestamps
- One review per user per business
Users can update their existing review instead of creating duplicate reviews for the same business.
Memories are CAFÉTA's community storytelling feature.
A Memory connects a real user experience to a real business. Users can share a photo and caption from a place they visited, allowing other people to see more than structured business information.
Memories can support:
- Photos
- Captions
- Author profiles
- Likes
- Comments
- Replies
- Relative timestamps
- Business association
- Community activity signals
Memories are intended to help answer:
"What is this place actually like?"
Authenticated users can save businesses they want to remember or visit later.
Saved businesses are tied to the signed-in account, giving users a personal collection of places they are interested in.
Authorized business owners or managers can maintain business information from CAFÉTA.
Management capabilities include:
- Editing profile information
- Updating business images
- Managing opening hours
- Creating menu categories
- Adding and editing menu items
- Updating menu availability
- Maintaining customer-facing information
CAFÉTA uses authenticated accounts for community and personalized features.
Account flows include:
- Registration
- Login
- Authentication callbacks
- Profile creation
- Username management
- Protected user experiences
- Redirecting users back to their intended destination where appropriate
New users are introduced to CAFÉTA through a focused onboarding experience.
The onboarding flow introduces the product, allows users to establish their CAFÉTA identity, and collects lightweight café preferences.
The intended journey is:
Register → Onboard → Explore
CAFÉTA is designed for both desktop and mobile use.
The interface uses responsive layouts, mobile navigation, compact business sheets, full business pages, and touch-friendly controls so discovery works naturally on phones.
A typical customer journey looks like this:
Open CAFÉTA
│
▼
Explore the map
│
▼
Find a café or milk-tea shop
│
▼
Open the business profile
│
├── View menu
├── Check hours
├── Read reviews
├── See Memories
├── Save the business
└── Get directions
│
▼
Visit the place
│
▼
Share a Memory or review
This creates a cycle where community participation improves future discovery.
CAFÉTA is designed around two main types of users: customers/community members and business owners/managers.
A community member can use CAFÉTA to discover nearby places, inspect business information, browse menus, read reviews, see community Memories, save interesting businesses, and contribute their own experiences.
Authenticated community features are associated with a CAFÉTA profile containing information such as a username, display name, avatar, biography, and preferences.
CAFÉTA also gives local businesses a structured presence inside the discovery experience.
A business profile is more than a pin on a map. It can become a customer-facing page containing the information someone needs before visiting.
Business records support lifecycle states so a submitted profile can be reviewed before being treated as an approved public listing.
Business membership also allows the application to distinguish between normal users and users authorized to manage a particular business.
Memories are one of the features that distinguish CAFÉTA from a standard map or directory.
Each Memory belongs to:
- One user
- One business
A Memory can contain:
- An uploaded image
- A caption
- Creation and update timestamps
Community interaction can then be attached through likes and comments.
Memory comments support conversations around community content. Replies can be associated with a parent comment to create threaded discussion.
Likes use a user-and-Memory relationship so an authenticated user can like a Memory without creating duplicate likes for the same post.
Memory activity can also be aggregated by business. This makes it possible for the map to identify businesses with recent community activity instead of placing a separate map marker for every individual Memory.
This can support discovery states such as:
- Trending
- Active
- Recent
Reviews provide structured customer feedback alongside Memories.
A review belongs to one user and one business and contains:
- Rating
- Optional written content
- Created timestamp
- Updated timestamp
CAFÉTA enforces a one-review-per-user-per-business relationship at the database level. This makes editing an existing review the natural workflow rather than allowing unlimited duplicate reviews.
Reviews and Memories serve different purposes:
Feature Purpose
Reviews Structured feedback and rating Memories Visual, social, experience-oriented content
Together they give users both evaluation and atmosphere.
The map is a core entry point into CAFÉTA.
Approved businesses with valid coordinates can be represented geographically. Selecting a place can open a compact place sheet with important information and provide a path to the full business profile.
CAFÉTA's map experience is intended to support discovery by category, proximity, and community activity rather than functioning only as a static map.
The canonical business URL uses a readable slug:
/business/[slug]
For example:
/business/brew-cafe
Internally, database relationships continue to use UUIDs while public routes remain readable.
CAFÉTA uses Supabase Authentication together with server-side and browser-side Supabase clients.
Authenticated experiences can verify the current user before loading protected data.
CAFÉTA onboarding is intentionally product-focused rather than questionnaire-heavy.
It introduces new users to the platform and allows them to:
- Understand what CAFÉTA offers.
- Establish or edit their username.
- Select café-related preferences.
- Start exploring.
Profile data can include an onboarding_completed state so the
application can distinguish new users from users who have already
completed setup.
CAFÉTA is built as a modern full-stack web application.
CAFÉTA uses Next.js with the App Router for application routing, server-rendered pages, layouts, route organization, metadata, and client/server component composition.
Key Next.js patterns used by the project include:
- App Router
- Dynamic routes
- Route groups
- Server Components
- Client Components
- Server-side redirects
- Metadata
- Loading states
- Nested application structure
The interactive interface is built with React.
React is used for:
- Component composition
- State management
- Forms
- Modals
- Interactive map interfaces
- Like/save/review controls
- Onboarding
- Business editing
- Mobile navigation
- Client-side Supabase interactions
CAFÉTA uses TypeScript throughout the application.
TypeScript provides typed data models and safer component interfaces for entities such as:
- Businesses
- Business hours
- Menu categories
- Menu items
- Profiles
- Memories
- Memory comments
- Reviews
- Business activity data
The interface is styled with Tailwind CSS.
CAFÉTA uses a custom visual language built around:
- Responsive utility classes
- CAFÉTA green
- Warm neutral backgrounds
- Rounded cards
- Subtle borders
- Responsive grids
- Lightweight transitions and animations
- Mobile-first layouts
Lucide React provides general-purpose interface icons used throughout CAFÉTA.
Examples include:
- Map pins
- Navigation
- Coffee
- Search
- Stars
- Hearts
- User/profile icons
- Menu controls
- Arrows
- Clocks
- Camera icons
Brand-specific social-media icons are kept separate from generic Lucide UI icons.
Sonner is used for toast notifications and lightweight user feedback, including successful actions and error states.
Supabase is the primary backend platform for CAFÉTA.
It provides several important parts of the application:
Used for:
- Account registration
- Login
- Session management
- Authenticated user identification
- Authentication callbacks
- Protected functionality
CAFÉTA's relational application data is stored in the PostgreSQL database provided through Supabase.
Storage is used for uploaded media such as:
- Business logos
- Business cover images
- Menu images
- User avatars
- Memory images
Supabase Row Level Security policies help enforce which records users are allowed to read, create, update, or delete.
CAFÉTA uses @supabase/ssr patterns for integrating Supabase
authentication with the Next.js server and browser environments.
The application maintains server and client Supabase helpers under:
lib/supabase/
├── server
└── client
This allows server-rendered pages and interactive client components to use the appropriate Supabase context.
CAFÉTA uses standard browser capabilities where appropriate, including:
- Geolocation for nearby discovery
- Native sharing where supported
- Clipboard functionality for sharing links
- Canvas-based image processing for uploaded images
- Responsive image presentation
- Browser file uploads
CAFÉTA follows a feature-oriented Next.js structure.
The application separates:
- Route-level data loading
- Reusable components
- Feature-specific UI
- Supabase access
- Domain types
- Image utilities
- Public and authenticated experiences
A simplified architecture looks like:
Browser
│
▼
Next.js App Router
│
├── Public pages
├── Auth pages
├── Protected user pages
└── Dynamic business/memory pages
│
▼
React Components
│
├── Map
├── Businesses
├── Menus
├── Memories
├── Reviews
├── Onboarding
└── Navigation
│
▼
Supabase
│
├── Authentication
├── PostgreSQL
├── Row Level Security
└── Storage
CAFÉTA uses a relational database design so businesses, users, menus, reviews, and community content remain connected.
Stores CAFÉTA profile information associated with authenticated users.
Important concepts include:
- User ID
- Full name
- Username
- Avatar
- Biography
- Role
- Café preferences
- Onboarding state
- Timestamps
Usernames are intended to be unique in a case-insensitive manner.
Stores the primary business record.
Important fields include:
- UUID
- Name
- Slug
- Category
- Description
- Logo
- Cover image
- Phone
- Social links
- Website
- Address
- Barangay
- City
- Province
- Latitude
- Longitude
- Status
- Verification state
- Creator
- Timestamps
Stores operating hours by day of the week.
Each business can define opening and closing information for each day and mark a day as closed.
Associates authenticated users with businesses they are authorized to manage.
This supports business-level roles rather than treating every user as an owner.
Stores owner-defined menu categories for each business.
Stores individual menu products and connects them to businesses and, optionally, menu categories.
Stores customer ratings and written reviews.
A unique user/business relationship prevents duplicate reviews from the same account for the same business.
Stores a user's saved places.
A unique user/business relationship prevents duplicate saves.
Stores community Memories connected to users and businesses.
Stores comments on Memories and supports replies through a parent-comment relationship.
Stores likes on Memories using a Memory/user relationship.
auth.users
│
└── profiles
│
├── reviews ──────────────┐
├── saved_businesses ─────┤
├── memories ─────────────┤
├── memory_comments │
└── memory_likes │
│
businesses ◄────────────────────────┘
│
├── business_hours
├── business_members
├── menu_categories
│ └── menu_items
├── reviews
├── saved_businesses
└── memories
├── memory_comments
└── memory_likes
CAFÉTA uses storage for user-generated and business-generated media.
Media types include:
- Avatars
- Business logos
- Business covers
- Menu-item images
- Memory images
The project includes client-side image optimization logic for business and Memory images.
Supported business image kinds include:
type BusinessImageKind =
| "logo"
| "cover"
| "menu"
| "memory";Images are resized according to their intended use and converted to WebP where appropriate before upload.
This helps reduce unnecessarily large uploads while preserving the original aspect ratio.
A key principle is that optimization and visual cropping are separate concerns. Uploaded media should preserve its source proportions; UI components decide how an image is presented.
Security is not handled only in the interface.
CAFÉTA uses Supabase Row Level Security (RLS) to enforce database permissions.
This is important because hiding a button in React is not sufficient authorization.
Examples of authorization concepts used by CAFÉTA include:
- Users can manage their own profile-related data.
- Users can manage their own saved businesses.
- Users can create and manage their own reviews.
- Users can create and manage their own community content where permitted.
- Business editing is restricted to authorized users.
- Business membership determines management access.
- Community profile information can be readable to authenticated users where required for author attribution.
Application-level canEdit checks improve the user experience, while
database policies remain the security boundary.
The exact structure may continue evolving as CAFÉTA grows, but the project is organized around the following pattern:
CAFETA/
│
├── app/
│ ├── page.tsx
│ │
│ ├── privacy/
│ │ └── page.tsx
│ │
│ ├── terms/
│ │ └── page.tsx
│ │
│ ├── auth/
│ │ ├── login/
│ │ ├── register/
│ │ └── callback/
│ │
│ └── (user)/
│ ├── onboarding/
│ ├── map/
│ ├── memories/
│ │ ├── page.tsx
│ │ ├── create/
│ │ └── [id]/
│ │
│ └── business/
│ └── [slug]/
│ ├── page.tsx
│ ├── menu/
│ ├── reviews/
│ └── edit/
│
├── components/
│ ├── business/
│ │ ├── edit/
│ │ ├── menu/
│ │ └── share/
│ │
│ ├── memories/
│ ├── onboarding/
│ ├── map/
│ ├── navigation/
│ └── ui/
│
├── lib/
│ ├── business/
│ │ └── image-optimizer.ts
│ │
│ ├── memories/
│ │ └── types.ts
│ │
│ └── supabase/
│ ├── client.ts
│ └── server.ts
│
├── public/
│
├── README.md
├── package.json
├── tsconfig.json
└── next.config.*
The repository itself is the source of truth for the current file structure. This overview documents the intended architecture and may change as features are reorganized.
Important CAFÉTA routes include:
Route Purpose
/ Public CAFÉTA landing page
/privacy Privacy Policy
/terms Terms of Service
/auth/register Account registration
/auth/login Sign in
/onboarding New-user onboarding
/map Main map and discovery experience
/memories Community Memories feed
/memories/create Create a Memory
/memories/[id] Individual Memory
/business/[slug] Business profile
/business/[slug]/menu Full customer-facing menu
/business/[slug]/reviews Business reviews
/business/[slug]/edit Authorized business management
Some routes are protected and require an authenticated CAFÉTA account.
Before running CAFÉTA locally, install:
- Node.js
- npm
- Git
- A Supabase project
A code editor such as Visual Studio Code is recommended.
git clone <your-repository-url>
cd <your-project-folder>npm installCreate a local environment file:
.env.local
Add the Supabase values required by the project's Supabase client configuration.
For a standard modern Supabase setup, this commonly includes:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_keyIf the repository's current Supabase configuration uses a differently named publishable-key variable, follow the variable names referenced by the codebase.
Never commit real secrets or private service-role keys to Git.
The Supabase project must contain the database tables, relationships, constraints, policies, authentication configuration, and storage buckets required by CAFÉTA.
See Supabase Setup.
npm run devThen open the local URL shown by Next.js in your terminal.
Environment variables should remain outside source control.
Typical public Supabase configuration includes:
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=Depending on the exact Supabase package version and project configuration, the project may instead use a Supabase publishable-key variable.
Do not place secrets directly inside components.
A NEXT_PUBLIC_* variable is intentionally exposed to browser code.
Never put privileged server credentials, service-role secrets, database
passwords, or other private credentials into a public environment
variable.
A complete CAFÉTA deployment requires more than creating empty tables.
The backend should include:
- Authentication configuration.
- Profile creation strategy for authenticated users.
- Database tables and foreign keys.
- Unique constraints.
- Validation/check constraints.
- Row Level Security.
- RLS policies.
- Storage buckets.
- Storage policies.
- Any database views or functions required by the application.
Examples of application-level database logic include:
- Unique usernames
- Username availability checks
- One review per user/business
- One save per user/business
- One like per user/Memory
- Business ownership/membership authorization
- Approved business filtering
- Community profile visibility
- Memory activity aggregation
- Onboarding completion state
Database migrations should be version-controlled for production deployments whenever possible.
npm run devnpm run buildnpm startIf the current project configuration provides a lint script, run:
npm run lintCheck the scripts in package.json for the authoritative list of
commands available in the current repository.
CAFÉTA has a distinct visual identity intended to feel local, modern, warm, and easy to use.
CAFÉTA Green
#006241
A brighter green is used selectively for interactive hover states and emphasis.
The interface generally uses:
- White primary surfaces
- Warm off-white and cream backgrounds
- Dark coffee-inspired neutrals
- CAFÉTA green accents
- Large rounded corners
- Soft borders
- Restrained shadows
- Clear visual hierarchy
- Compact mobile-friendly controls
- Generous whitespace
- Minimal decorative noise
The goal is to make CAFÉTA feel like a consumer discovery product rather than an administrative directory.
CAFÉTA's product copy is intended to be:
- Clear
- Short
- Friendly
- Local
- Useful
- Confident without sounding corporate
Important brand language includes:
Find somewhere worth going to.
and
Kape tayo.
The platform uses Memories consistently as the name of its community photo-and-experience feature.
CAFÉTA provides public legal-information pages:
/privacy
/terms
The Privacy Policy explains how account, profile, community, location, business, and service-related information may be handled.
The Terms of Service describe account responsibilities, acceptable use, community content, reviews, business profiles, information accuracy, moderation, intellectual property, third-party services, and platform availability.
These documents should be reviewed and updated as the product, data practices, deployment, and legal requirements evolve.
For a production or commercial launch, appropriate professional legal review is recommended.
CAFÉTA is an actively developed project.
The platform has evolved from a café-map concept into a broader local discovery and community experience.
Major product areas include:
- Landing and marketing experience
- Authentication
- User profiles
- New-user onboarding
- Interactive map discovery
- Business profiles
- Business management
- Business hours
- Menus
- Saved businesses
- Reviews
- Memories
- Likes
- Comments and replies
- Media uploads
- Community activity
- Privacy and Terms pages
Because development is ongoing, implementation details and route organization may continue to change.
CAFÉTA can continue growing while keeping local discovery at the center of the product.
Potential future directions include:
Improve search, category filtering, proximity discovery, ranking, and personalized recommendations.
Give businesses more tools to keep menus, hours, announcements, and customer-facing information current.
Improve Memory discovery, conversations, moderation, activity ranking, and the connection between community activity and the map.
Expand how reviews are summarized and surfaced while preserving authentic user feedback.
Introduce stronger search across businesses, categories, locations, menu items, and community content.
Notify users about relevant interactions, replies, business activity, or other useful events where appropriate.
Add stronger reporting, review, moderation, and anti-abuse workflows as the community grows.
Continue improving how CAFÉTA distinguishes trustworthy, authorized, and verified business information.
Provide useful, privacy-conscious insights that help local businesses understand how customers discover their CAFÉTA profiles.
Continue improving page performance, media delivery, keyboard accessibility, screen-reader support, responsive behavior, and overall usability.
The roadmap should follow real community needs rather than adding features only for feature count.
CAFÉTA is guided by several product principles.
CAFÉTA starts by solving discovery for Basilan rather than trying to become a generic worldwide directory immediately.
The product should help someone make a decision quickly.
Structured business information tells users the facts. Community Memories and reviews add human context.
Local businesses should have a clear place to present accurate information to people already looking for somewhere to go.
Reviews, business information, user identity, moderation, and database authorization should be designed to make the platform increasingly trustworthy as it grows.
Local discovery often happens while someone is already outside. CAFÉTA should work naturally on a phone.
CAFÉTA is designed and developed by Jaymar Maruji.
The project was created with the goal of improving how people discover cafés, milk-tea shops, and local places around Basilan while giving local businesses a stronger digital presence and giving the community a place to share real experiences.
CAFÉTA combines software engineering, web development, product design, database architecture, local discovery, and community-focused thinking into one platform.
Project: CAFÉTA
Developer: Jaymar Maruji
Focus: Local café discovery and community
Location: Basilan, Philippines
CAFÉTA is built using open-source technologies and modern web-development tools, including Next.js, React, TypeScript, Tailwind CSS, Supabase, Lucide React, Sonner, PostgreSQL, and the broader JavaScript and open-source ecosystem.
CAFÉTA also depends on the participation of local users and businesses. The value of a community discovery platform grows from accurate business information, genuine reviews, useful Memories, and people willing to share places worth discovering.
No open-source license is granted by this README unless a separate license file in the repository explicitly states otherwise.
Unless the repository includes a LICENSE file defining additional
permissions, the source code and original CAFÉTA materials should be
treated as proprietary project material of the developer.
::: {align="center"}
Find somewhere worth going to.
Discover local cafés.
Check the menu.
See the Memories.
Know before you go.
Built by Jaymar Maruji
Basilan, Philippines
Kape tayo. :::