Skip to content

surjeetkumar800/Apni-Sec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ 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

πŸ“Έ Screenshots Dashboard image

image

Landing page

Login / Register page

Dashboard

Issue creation page

Example:

screenshots/ β”œβ”€β”€ landing.png β”œβ”€β”€ login.png β”œβ”€β”€ dashboard.png

Then embed:

Dashboard

βš™οΈ Environment Variables PORT=5000 MONGO_URI= JWT_SECRET= RESEND_API_KEY=

πŸ› οΈ Local Setup git clone https://github.com/surjeetkumar800/Apni-Sec.git

Backend

cd backend npm install npm run dev

Frontend

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

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages