Practical Assessments

P2E-commerce Web Application

Brief: Develop a working online shop for a business of the student's choice (or one assigned by the lecturer), using HTML, CSS, JavaScript, PHP and MySQL.

Required features and marking guide

FeatureDetailsMarks
Front-end designSemantic HTML, external CSS, responsive (mobile and desktop), consistent branding10
Product catalogueCategories, product listing, detail page, search, pagination10
Shopping cartAdd, update, remove, totals from database, stock check, AJAX badge update10
Registration and loginServer and client validation, password_hash, sessions10
Checkout and ordersTransaction-based order saving, order history, order statuses10
Privileges managementAt least customer and admin roles; protected admin pages; ownership checks; CSRF tokens10
Admin panelCRUD for products and categories (with image upload), order management10
Password reminder and stay signed-inSecure reset flow by email; remember-me token5
Likes (cached counter) using AJAXToggle like, cached count5
Service integrationPayment gateway sandbox and email notification (a documented mock is acceptable if live services are unavailable)5
Security and code qualityPrepared statements, output escaping, config separate, comments, folder structure10
Hosting and documentationDeployed (or complete go-live checklist), README, ER diagram, user manual5
Total100

Suggested milestones

WeekMilestone
1Proposal, wireframes, ER diagram, database created
2Product listing, details, search, pagination, layout complete
3Registration, login, roles, cart, checkout
4Admin panel, password reset, remember-me, likes
5Payment and email integration, security review, testing
6Hosting, documentation, presentation and viva

Deliverables: source code, SQL export, documentation (ER diagram, screenshots, test cases and results, security measures), live link or go-live checklist, and a 10-minute demonstration followed by questions.