-
Anonyfy is a full-stack web application that allows users to receive anonymous feedback through unique profile links.
-
Users can easily create an account, share their profile, and start receiving messages from anyone without revealing their identity.
-
With a focus on privacy, user experience, and simplicity, Anonyfy provides an intuitive platform for gathering honest opinions, compliments, or constructive criticism.
-
Built using modern technologies like Next.js, Prisma, and TailwindCSS, Anonyfy ensures a smooth, fast, and secure experience.
Anonymous Messaging : Anyone can send you messages without creating an account.
Unique User Links : Each user gets a unique link they can share to receive feedback.
Authentication : Secure login/signup system with NextAuth.js (Email or OAuth if configured).
Dashboard : Users can view received messages in a private dashboard.
Message Management : Ability to delete unwanted messages from the dashboard.
Responsive UI : Mobile-first, beautifully designed with TailwindCSS.
- Next.js : Full-Stack React Framework
- React.js : Frontend
- TypeScript : Type-Safety
- TailwindCSS : Styling
- Shadcn-UI : UI Library
- react-email : For email templates
- Resend : For sending out the actual email.
- MongoDB : Database
- Mongoose : ODM for MongoDB
- NextAuth.js : Authentication
- Zod : Data Validation
Follow these steps to set up Anonyfy locally:
1. Clone the repository :
git clone https://github.com/your-username/anonyfy.git
cd anonyfy2. Install dependencies :
pnpm install
# or
npm install
# or
yarn install3. Copy the variables from .env.sample to .env :
cp .env.sample .env4. Set up environment variables :
MONGODB_URI=mongodb+srv://<username>:<password>@cluster0.fgdlagf.mongodb.net/Anonyfy?retryWrites=true&w=majority&appName=Cluster0
RESEND_API_KEY="Enter resend Api Key obtained from https://resend.com/"
NEXTAUTH_SECRET="Enter anything you want. Any kind of password is fine."
NOTE :
-
Refer this for obtaining the connection string from MongoDB. Then replace the username and password of the above given connection string with the actual username and paasword received from the MongoDB.
-
For getting the Resend API key, watch the following YouTube video : From (4:17) https://youtu.be/fEeksraKfJI?si=S_t-ADL2rTYLa0iK
-
For the "NEXTAUTH_SECRET", you can give any secret.
For Example : NEXTAUTH_SECRET=your_name_101
5. Start the development server :
pnpm dev
# or
npm run dev
# or
yarn devNOTE : Visit http://localhost:3000 🚀
We welcome contributions! To contribute:
-
Fork the project.
-
Create a feature branch (git checkout -b feature/your-feature)
-
Commit your changes (git commit -m 'Add your feature')
-
Push to your fork (git push origin feature/your-feature)
-
Open a Pull Request
NOTE : Please make sure your code follows the existing style and passes all linting checks.
