Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/dev0302/nextjs-project-1/llms.txt

Use this file to discover all available pages before exploring further.

AnonMessage is a full-stack Next.js application that enables truly anonymous communication. Anyone can send a message to a registered user through their public profile link — no account required to send, and the sender’s identity is never revealed. Users manage their inbox from a protected dashboard, control whether they accept messages, and get their unique link to share anywhere.

Introduction

Learn what AnonMessage is, how it works, and what technologies power it.

Quickstart

Clone, configure, and run AnonMessage locally in under five minutes.

Environment Variables

All required and optional environment variables with descriptions.

API Reference

Full reference for every REST endpoint — auth, messaging, and utilities.

How it works

1

Create an account

Register with a username, email, and password. A 6-digit OTP is sent to your email via Brevo for verification before your account is created.
2

Share your profile link

After signing in, your dashboard shows your unique public URL: https://your-domain.com/u/your-username. Share it anywhere — social bio, email signature, QR code.
3

Receive anonymous messages

Anyone who visits your link can type and send a message without logging in. They can also use the AI Suggest feature to get conversation-starter ideas.
4

Manage your inbox

Your dashboard shows all received messages sorted by date. Toggle message acceptance on or off at any time, and delete individual messages.

Explore the docs

Authentication

OTP flow, NextAuth setup, JWT strategy, and session management.

Anonymous Messaging

How senders interact with public profiles and how messages are stored.

AI Suggestions

Google Gemini integration that generates contextual message prompts.

Dashboard

Inbox management, acceptance toggle, shareable link, and message deletion.

Data Models

User and OTP Mongoose schemas, embedded message documents, and types.

Project Structure

App Router layout, route groups, API routes, and component organization.

Build docs developers (and LLMs) love