An open API service indexing awesome lists of open source software.

https://github.com/shubham-cyber-prog/placement-prep

A structured placement preparation repository covering DSA, coding practice, core CS concepts, aptitude, and interview preparation resources.
https://github.com/shubham-cyber-prog/placement-prep

ai-agents expressjs html javascript json node typescript

Last synced: 3 months ago
JSON representation

A structured placement preparation repository covering DSA, coding practice, core CS concepts, aptitude, and interview preparation resources.

Awesome Lists containing this project

README

          


image

---

๐Ÿš€ Placement Preparation Hub

---

## ๐Ÿ“‚ Repository Overview
### To maintain a **well-organized, revision-friendly, and interview-ready** collection of resources and solved problems for placements.

- ๐Ÿ”— **GitHub Profile:** [Shubham-cyber-prog](https://github.com/Shubham-cyber-prog)
- ๐Ÿ“ **Repository Name:** `Placement-Prep`

## ๐Ÿš€ What This Repository Offers

- โœ… Topic-wise **DSA implementations & problems**
- โœ… **Company-wise interview questions**
- โœ… **System Design notes & case studies**
- โœ… **Curated learning resources**
- โœ… **Real interview experiences & takeaways**

---

## ๐ŸŽฏ Who Is This For?

- Students preparing for **placements**
- Beginners building **DSA fundamentals**
- Anyone targeting **product-based companies**

---

## ๐Ÿ“ Repository Structure

This repository serves as both a web platform for interactive placement preparation and a hub for curated content and resources.

```
Placement-Prep/
โ”‚
โ”œโ”€โ”€ backend/ # Backend server and API
โ”‚ โ”œโ”€โ”€ config/ # Database and application configuration
โ”‚ โ”œโ”€โ”€ controllers/ # Route handlers for API endpoints
โ”‚ โ”œโ”€โ”€ middlewares/ # Authentication, error handling, and other middlewares
โ”‚ โ”œโ”€โ”€ models/ # MongoDB schemas and data models
โ”‚ โ”œโ”€โ”€ routes/ # API route definitions
โ”‚ โ””โ”€โ”€ utils/ # Utility functions and helpers
โ”‚
โ”œโ”€โ”€ src/ # Frontend React application
โ”‚ โ”œโ”€โ”€ components/ # Reusable UI components (shadcn/ui based)
โ”‚ โ”œโ”€โ”€ hooks/ # Custom React hooks
โ”‚ โ”œโ”€โ”€ layouts/ # Page layout components
โ”‚ โ”œโ”€โ”€ lib/ # Utility libraries and configurations
โ”‚ โ””โ”€โ”€ pages/ # Application pages and views
โ”‚
โ”œโ”€โ”€ public/ # Static assets (favicon, images, robots.txt)
โ”‚
โ”œโ”€โ”€ Easy/ # Placement preparation content
โ”‚ โ””โ”€โ”€ Medium/ # Medium difficulty problems and solutions
โ”‚
โ”œโ”€โ”€ package.json # Frontend dependencies and scripts
โ”œโ”€โ”€ vite.config.ts # Vite build configuration
โ”œโ”€โ”€ tailwind.config.ts # Tailwind CSS configuration
โ”œโ”€โ”€ tsconfig.json # TypeScript configuration
โ””โ”€โ”€ README.md # This file
```

**Note:** The repository combines a full-stack web application for interactive learning with traditional content organization. Additional content directories (e.g., for Data Structures, Algorithms) are planned for future expansion.
---

## ๐Ÿ“… Study Plan

### ๐Ÿ—“๏ธ 12-Week Placement Preparation Plan


12 Week Placement Preparation Roadmap


A structured 12-week roadmap covering DSA, System Design, and Interview Preparation, designed to ensure consistent progress and effective revision.

---
# ๐Ÿ“Š Daily Study Schedule

## ๐ŸŒ… Morning Session (2 Hours)

**Focus:** Strengthening basics & fixing weak areas

* โฑ๏ธ **30 mins โ€” Theory Revision**
Revise core concepts (DSA, OS, DBMS, CN, etc.) to keep fundamentals strong.

* ๐Ÿง  **60 mins โ€” Problem Solving**
Solve DSA problems (LeetCode / GFG / CodeStudio) with a focus on logic and patterns.

* ๐Ÿ” **30 mins โ€” Previous Mistakes Review**
Analyze wrong solutions, optimize approaches, and note learnings.

## โ˜€๏ธ Afternoon Session (2 Hours)

**Focus:** Learning & implementation

* ๐Ÿ“˜ **60 mins โ€” New Topic Learning**
Learn a new concept or algorithm and understand its realโ€‘world use cases.

* ๐Ÿ’ป **30 mins โ€” Coding Practice**
Implement newly learned concepts through handsโ€‘on coding.

* ๐Ÿ“Š **30 mins โ€” Time & Space Complexity Analysis**
Analyze performance, optimize code, and compare multiple approaches.

## ๐ŸŒ™ Evening Session (1 Hour)

**Focus:** Interview preparation

* ๐ŸŽฏ **60 mins โ€” Mock Interview / Companyโ€‘Specific Questions**
Practice behavioral + technical questions from productโ€‘based companies.

๐Ÿ“Œ *Consistency beats intensity. Follow this schedule daily and iterate weekly for maximum growth.*

---

# ๐ŸŽฏ Interview Preparation

## ๐Ÿ” Technical Rounds

### ๐Ÿง  Coding Round

* โฑ๏ธ Solve **2โ€“3 problems in 60โ€“90 minutes**
* โš™๏ธ Focus on **optimized solutions** (Time & Space)
* ๐Ÿงผ Write **clean, modular, and readable code**
* ๐Ÿงช Handle **edge cases** and explain trade-offs

### ๐Ÿ—๏ธ System Design Round

* ๐Ÿ“ **Requirements gathering** (functional & non-functional)
* ๐Ÿ”Œ **API design** (RESTful endpoints, contracts)
* ๐Ÿ—„๏ธ **Database schema** (indexes, normalization)
* ๐Ÿ“ˆ **Scalability** (caching, sharding, load balancing)

### ๐Ÿ“š CS Fundamentals

* ๐Ÿงต **Operating Systems** (Processes, Threads, Scheduling, Deadlocks)
* ๐Ÿงฎ **DBMS** (SQL queries, Indexes, Transactions)
* ๐ŸŒ **Networking** (TCP/IP, HTTP/HTTPS, DNS)

---

## ๐Ÿ’ผ Behavioral Round

* โญ Use the **STAR Method** (Situation, Task, Action, Result)
* ๐Ÿงฉ Prepare **5โ€“7 strong stories** from projects/internships
* ๐Ÿข **Research company values & culture**
* โ“ Prepare **thoughtful questions** for the interviewer

---

## ๐Ÿ“ Resume Tips

* โœ๏ธ Start bullet points with **action verbs**
* ๐Ÿ“Š **Quantify achievements** (numbers > words)
* ๐ŸŽฏ **Tailor resume** for each company/role
* ๐Ÿ“„ Keep it **1 page**, clean and ATS-friendly

---

## ๐Ÿ› ๏ธ Tech Stack

### Frontend
- **React** - UI library for building the user interface
- **TypeScript** - Type-safe JavaScript for better development experience
- **Vite** - Fast build tool and development server
- **Tailwind CSS** - Utility-first CSS framework for styling
- **shadcn/ui** - Modern UI components built on Radix UI
- **React Router** - Declarative routing for React applications
- **React Query** - Powerful data synchronization for React
- **Socket.io** - Real-time bidirectional communication

### Backend
- **Node.js** - JavaScript runtime for server-side development
- **Express** - Minimal and flexible Node.js web application framework
- **MongoDB** - NoSQL database for flexible data storage
- **Mongoose** - Elegant MongoDB object modeling for Node.js
- **JWT** - JSON Web Tokens for secure authentication
- **Socket.io** - Real-time, bidirectional and event-based communication

### Other Tools
- **Git** - Distributed version control system
- **ESLint** - Tool for identifying and reporting patterns in JavaScript/TypeScript
- **Prettier** - Code formatter for consistent code style

# ๐Ÿš€ Full Project Setup Guide (For New Contributors)

Welcome ๐Ÿ‘‹
Follow these steps carefully to set up the project locally.

---

# ๐Ÿ–ฅ๏ธ System Requirements

Make sure you have installed:

* Node.js (v18 or higher recommended)
* npm (comes with Node)
* Git
* MongoDB Atlas account
* VS Code (recommended)

Check versions:

```
node -v
npm -v
git --version
```

---

# ๐Ÿ“ฆ Project Structure

```
Placement-Prep/
โ”œโ”€โ”€ frontend (Vite + React + Firebase)
โ””โ”€โ”€ backend (Express + MongoDB + JWT)
```

---

# ๐Ÿ”น Step 1: Clone Repository

```
git clone https://github.com/your-username/placement-prep.git
cd placement-prep
```

---

# ๐Ÿ”น Step 2: Frontend Setup

```
cd frontend
npm install
```

### Required Frontend Packages (Auto installed via npm install)

* react
* vite
* firebase
* react-router-dom
* socket.io-client
* tailwindcss
* framer-motion
* react-hook-form
* zod
* recharts
* etc.

### Create `.env` file in frontend folder:

```
VITE_FIREBASE_API_KEY=your_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_auth_domain
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_storage_bucket
VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
VITE_FIREBASE_APP_ID=your_app_id
```

โš ๏ธ All frontend env variables must start with `VITE_`

### Run frontend:

```
npm run dev
```

Frontend runs on:

```
http://localhost:5173
```

---

# ๐Ÿ”น Step 3: Backend Setup

Open new terminal:

```
cd backend
npm install
```

### Required Backend Packages (Auto installed)

* express
* mongoose
* dotenv
* cors
* bcryptjs
* jsonwebtoken
* helmet
* morgan
* socket.io
* express-validator
* compression

---

### Create `.env` file in backend folder:

```
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/placementprep
PORT=5000
JWT_SECRET=your_secret_key
```

โš ๏ธ Replace username and password with your MongoDB Atlas credentials.

---

# ๐Ÿ”น Step 4: Run Backend

```
npm start
```

Backend runs on:

```
http://localhost:5000
```

---

# ๐Ÿ”น Step 5: MongoDB Setup

1. Go to MongoDB Atlas
2. Create cluster
3. Create database user
4. Whitelist your IP (0.0.0.0/0 for development)
5. Copy connection string

---

# ๐Ÿ”น Step 6: Important Rules

* Never push `.env` file
* Never commit API keys
* Always create a new branch before contributing
* Follow project folder structure

---

# ๐Ÿ”น Common Errors & Fix

### โŒ MONGODB_URI undefined

Check backend `.env` variable name

### โŒ Firebase not working

Check frontend `.env` and restart server

### โŒ Port already in use

Kill process:

```
sudo kill -9 $(lsof -t -i:5000)
```

---

# ๐ŸŽฏ Final Run (Both Servers)

Terminal 1:

```
cd frontend
npm run dev
```

Terminal 2:

```
cd backend
npm start
```

---

# ๐Ÿš€ You're Ready to Contribute!

## ๐Ÿค Contribution Guide

We welcome contributions! ๐Ÿš€ Hereโ€™s how you can help:

### โœ… Add Solutions

* Provide **alternative approaches**
* Add **time & space complexity**
* Include **edge cases**

### ๐Ÿ“– Improve Documentation

* Fix typos and grammar
* Add clearer explanations
* Improve code comments

### โž• Add New Content

* Company-specific questions
* Interview experiences
* New problem solutions

### ๐Ÿ› ๏ธ Steps to Contribute

```bash
# 1. Fork the repository
# 2. Create a new branch
git checkout -b feature/your-feature

# 3. Make your changes
# 4. Commit with a descriptive message
git commit -m "Add: Solution for Two Sum problem"

# 5. Push to your branch
git push origin feature/your-feature

# 6. Create a Pull Request
```

---

## ๐Ÿ“ž Connect

![GitHub](https://img.shields.io/badge/GitHub-Profile-black?style=for-the-badge\&logo=github)
![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-blue?style=for-the-badge\&logo=linkedin)
![LeetCode](https://img.shields.io/badge/LeetCode-Profile-orange?style=for-the-badge\&logo=leetcode)
![Email](https://img.shields.io/badge/Email-Contact-red?style=for-the-badge\&logo=gmail)

---
## ๐Ÿ† Hall of Fame

Big thanks to all the awesome contributors who helped make this project better! ๐Ÿ™Œ
Your efforts help students prepare for placements with quality resources ๐Ÿš€





> _Thank you to everyone who has contributed!_

## โญ Support

If this repository helped you:

* โญ Star the repository
* ๐Ÿ”„ Share with friends
* ๐Ÿ› Report issues
* ๐Ÿ’ก Suggest improvements

๐Ÿš€ **Happy Coding & Best Wishes for Your Interviews!** ๐ŸŽฏ
*"The only way to learn coding is to write a lot of code and solve a lot of problems."*

---

## ๐Ÿ“„ License

This project is licensed under the **MIT License** โ€” see the `LICENSE` file for details.

Made with โค๏ธ by **Shubham**

![Profile Views](https://img.shields.io/badge/Profile%20Views-โ€”-blue)