π‘οΈ ApniSec β SDE Intern Assignment
A production-ready full-stack web application built as part of the ApniSec SDE Intern Assignment, with a strong focus on security, scalable backend architecture, and clean frontend implementation.
π Live URLs
Frontend: https://apni-sec-2.onrender.com
Backend: https://apni-sec-backend.onrender.com
π GitHub Repository
https://github.com/surjeetkumar800/Apni-Sec
π§± Tech Stack Frontend
Next.js (App Router)
React 19
TypeScript
Tailwind CSS
SEO optimized pages
Backend
Node.js + Express
Strict OOP-based architecture
JWT Authentication
Rate Limiting
Email integration (Resend)
Database
MongoDB (Mongoose) β Clean architecture β Dependency Injection β Scalable and maintainable codebase
π Authentication & Security
JWT-based authentication
Password hashing with bcrypt
Protected routes via middleware
Custom rate limiting 100 requests / 15 minutes / IP
π Core APIs Authentication
POST /api/auth/register
POST /api/auth/login
GET /api/auth/me
Issue Management
GET /api/issues
POST /api/issues
GET /api/issues/:id
PUT /api/issues/:id
DELETE /api/issues/:id
Supported Issue Types:
Cloud Security
Red Team Assessment
VAPT
βοΈ Email Integration
Emails are sent using Resend API:
Welcome email
Issue creation notification
Profile update notification
π₯οΈ Frontend Pages
/ β Landing page
/login β Authentication
/register β User registration
/dashboard β Protected dashboard
/profile β Profile management
β Responsive UI β Form validation β Loading and error states
π SEO & Performance
SEO-friendly meta tags
Semantic HTML
Optimized rendering
Lighthouse SEO score above average
Landing page
Login / Register page
Dashboard
Issue creation page
Example:
screenshots/ βββ landing.png βββ login.png βββ dashboard.png
Then embed:
βοΈ Environment Variables PORT=5000 MONGO_URI= JWT_SECRET= RESEND_API_KEY=
π οΈ Local Setup git clone https://github.com/surjeetkumar800/Apni-Sec.git
cd backend npm install npm run dev
cd frontend npm install npm run dev
π¦ Deployment
Frontend: Render / Vercel
Backend: Render
Database: MongoDB Atlas
π§ Key Learnings
Designing scalable OOP-based backend systems
Implementing secure authentication & rate limiting
Handling full production deployment
Building SEO-friendly Next.js applications

