Skip to content

Czar-16/TruMsg

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Project Overview

Trumsg is a modern, anonymous messaging and feedback platform built with Next.js, TypeScript, and MongoDB. It enables users to submit feedback or messages without revealing their identity, while still providing optional authentication for users who wish to manage their submissions. The application offers a full‑stack solution for user registration, email verification, and optional authentication (via NextAuth), combined with real‑time‑like message handling. The backend exposes a set of RESTful API routes for creating, retrieving, accepting, deleting, and suggesting messages, and the frontend delivers a clean UI featuring a navigation bar, message cards, and background animations.

Key features include

  • Anonymous message/feedback submission with optional user accounts.
  • Secure user sign‑up and sign‑in with hashed passwords and verification codes.
  • Email verification integration using Resend.
  • Message persistence per user (or anonymously) with MongoDB subdocuments.
  • Comprehensive API endpoints for sending, accepting, deleting, and suggesting messages.
  • Type‑safe request validation via Zod schemas.
  • Deployable on Vercel with automatic font optimization.

This repository serves as a starter template for building scalable, type‑safe, full‑stack applications with Next.js.

Tech Stack

  • Framework: Next.js (App Router) with React 18
  • Language: TypeScript
  • Database: MongoDB (Mongoose ODM)
  • Authentication: NextAuth.js
  • Email Service: Resend
  • Schema Validation: Zod
  • Styling: Tailwind CSS (via shadcn/ui components)
  • Deployment: Vercel

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

About

Trumsg is a modern, anonymous messaging and feedback platform built with Next.js, TypeScript, and MongoDB. It enables users to submit feedback or messages without revealing their identity, while still providing optional authentication for users who wish to manage their submissions.

Topics

Resources

Stars

Watchers

Forks

Contributors