The real graded MERN Stack Development tasks the portal assigns, grouped into three levels.
The portal assigns these MERN Stack Development tasks. Finish Level 1 before Level 2 and Level 2 before Level 3. Your mentor may mark some tasks as required for the certificate.
Level 1: Foundations (12 tasks)
Task
What to do
Set up Node.js
Install Node.js LTS, create a repo named mern-internship and explain npm scripts and package.json.
Modern JavaScript
Write examples of let/const, arrow functions, destructuring, spread, modules and promises.
Async JavaScript
Fetch data with async/await and handle errors and loading states.
HTML and CSS layout
Build a responsive landing page with Flexbox and Grid.
MongoDB basics
Create a MongoDB Atlas free cluster, insert documents and run find queries with filters.
Express server
Create an Express server with routes returning JSON.
CRUD API
Build CRUD endpoints for products with proper status codes.
Mongoose models
Define Mongoose schemas with validation and connect them to your API.
React basics
Build components with props and state that list products from the API.
React forms
Build a controlled form to add and edit products.
Routing
Add React Router with home, product list, product detail and 404 pages.
Postman tests
Create a Postman collection with tests for every endpoint.
Level 2: Building real features (10 tasks)
Task
What to do
Authentication
Add sign-up and login with bcrypt and JWT on the Express API.
Protected routes
Protect API routes with middleware and React routes based on login state.
Roles
Add admin and customer roles; only admins manage products.
Relationships in MongoDB
Model users, orders and products with references and populate.
Aggregation pipeline
Write aggregation queries for sales by category and top customers.
State management
Manage cart state with Context API or Redux Toolkit.
Pagination and search
Add server-side pagination, search and sorting.
Image upload
Upload product images to Cloudinary or local storage with validation.
Error handling
Add a central Express error handler and React error boundaries.
Testing
Write API tests with Jest and Supertest and component tests with React Testing Library.
Level 3: Professional work and capstone (8 tasks)
Task
What to do
Payment integration (test mode)
Integrate a payment gateway in test mode (Razorpay or Stripe) with server-side verification.
Real-time with Socket.io
Add live order status updates with Socket.io.
Security hardening
Add helmet, rate limiting, input sanitisation and CORS rules, and explain each.
Performance
Add MongoDB indexes, React code splitting and compression, and measure results.
Docker and deployment
Containerise and deploy the API and frontend (for example Render and Vercel) with environment variables.
CI pipeline
Run lint and tests on every push with GitHub Actions.
Interview preparation
Answer 30 common MERN interview questions in your own words.
Capstone: MERN e-commerce app
Deliver a complete MERN app with auth, roles, cart, test payments, admin panel, tests, deployment and a demo video.