A modern backend application inspired by the Sarahah concept — built with Node.js, Express, and MongoDB, deployed on AWS EC2.
The AWS Sarahah App allows users to send and receive anonymous messages.
It’s designed as a clean, secure, and scalable backend project suitable for portfolio demonstration.
- 🔐 JWT Authentication (Register, Login, Logout)
- 💬 Anonymous Messaging System
- 🧾 Email Verification with OTP
- 🔄 Password Reset Flow
- 🧠 Error Handling Middleware
- 🗂 Modular Folder Structure
- ☁️ Ready for AWS EC2 Deployment
| Layer | Technology |
|---|---|
| Backend | Node.js, Express.js |
| Database | MongoDB (Atlas) |
| Authentication | JWT, bcrypt |
| Mail Service | Nodemailer |
| Deployment | AWS EC2, Nginx (optional) |
| Environment | dotenv, pm2 |
# 1. Clone the repository
git clone https://github.com/himasaif/aws-sarahah-app.git
# 2. Install dependencies
npm install
# 3. Create a .env file and set your environment variables
PORT=3000
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_secret_key
EMAIL_USER=your_email
EMAIL_PASS=your_password
# 4. Run the server
npm start
---
هل تحب أضيفلك سطر مخصص في آخر الـREADME فيه **“Live Demo (GitHub Link)”**
عشان يظهر كرابط جميل في الـCV زي:
> 🔗 [View on GitHub](https://github.com/himasaif/aws-sarahah-app) ?