quotation-generator

byAbhijeet Talegaonkar

Role: You are a Senior Full-Stack Developer. Task: Build a "Quotation Generator Web App" for an IT agency. Tech Stack: React.js (Frontend), Tailwind CSS (Styling), Node.js/Express (Backend), and MongoDB (Database). For PDF generation, use jspdf and html2canvas. Requirements: 1. Frontend (React): Header: Agency Logo placeholder, App Title ("QuoteGen"). Client Info Section: Inputs for Client Name, Company, Date, and Validity. Module Builder: 4 main sections (Website, Android App, iOS App, Custom Software). Dynamic Line Items: Within each module, allow the user to click "Add Task". Each task has: Task Name, Estimated Hours, and Hourly Rate (or Flat Cost). Allow removing tasks. Financial Summary (Sticky Sidebar or Bottom): Auto-calculate Subtotal, apply an optional "Discount %", calculate GST (18%), and show the Grand Total. Action Buttons: "Save Quote" (to Database) and "Export PDF" (generates a clean, professional PDF). 2. Backend (Node/Express): Create API endpoints: POST /api/quotes (save quote), GET /api/quotes (get all quotes), GET /api/quotes/:id (get specific quote). 3. Database (MongoDB): Design a schema that stores the client info, the array of selected modules, the specific tasks within those modules, the calculated totals, and the date created. 4. PDF Generation: The PDF must look professional. It should have a header with the Agency Logo, Client Info, a Table of Modules/Tasks, and a clear Financial Summary at the bottom. Please provide: The folder structure. The React component code for the main form and the dynamic line items. The Node.js API code. The MongoDB schema. The exact code for the PDF generation function.

LandingLogin
Landing

Comments (0)

No comments yet. Be the first!

Project Tasks

34 planning tasks
#1

Generate system requirement document

0m 51s0.2 cr used
Done
#2

Generate personas & user flows

0m 6s0.2 cr used
Done
#7

Create flow for Agency Quotation Author

0m 5sCredits in parent
Done
#8

Create flow for Agency Quote Reviewer

0m 5sCredits in parent
Done
#9

Landing

4m 31sCredits in subtasks
Done
#26

Fix Landing review finding: frontend/src/styles/Landing Hero Statement.css: The desktop…

0m 11s0.4 cr used
Done
#24

Fix Landing review finding: Q2 as reviewed now: Desktop screenshot 1 still shows the…

0m 21s0.4 cr used
Done
#23

Fix Landing review finding: Q2 as reviewed now: Mobile hero headline wraps into four…

0m 23s0.4 cr used
Done
#21

Fix Landing review finding: Q1 as reviewed now: frontend/src/styles/Landing.css: The…

0m 14s0.4 cr used
Done
#14

Landing / Header Bar

0m 0s0.85 cr used
Done
#15

Landing / Hero Statement

0m 24s0.85 cr used
Done
#16

Landing / Module Schematic

0m 25s0.85 cr used
Done
#17

Landing / Footer

0m 0s0.85 cr used
Done
#20

Fix Landing: The module schematic overlaps and obscures the hero headline on desktop; see () and (, ).

0m 30sCredits unavailable
Done
#22

Fix Landing: Desktop hero headline wraps into five lines instead of the explicitly requested two-line…

1m 42sCredits unavailable
Done
#25

Fix Landing: The desktop headline is still too small to preserve the required oversized two-line hero…

0m 30sCredits unavailable
Done
#18

Quote Gen Header

0m 23sCredits in parent
Done
#19

Footer

0m 16sCredits in parent
Done
#10

Login

1m 33sCredits in subtasks
Done
#27

Login / Header Slot

0m 0s0.85 cr used
Done
#28

Login / Auth Panel

0m 32s0.85 cr used
Done
#29

Login / Footer Slot

0m 0s0.85 cr used
Done
#11

Sign Up

2m 13sCredits in subtasks
Paused
#30

Sign Up / Header Bar

0.85 cr needed
Paused
#31

Sign Up / Enrollment Panel

0.85 cr needed
Paused
#32

Sign Up / Footer

0.85 cr needed
Paused
#12

New Quote

2m 13sCredits in subtasks
Paused
#33

New Quote / Header Bar

0.85 cr needed
Paused
#34

New Quote / Spec Strip

0.85 cr needed
Paused
#35

New Quote / Workspace

0.85 cr needed
Paused
#36

New Quote / Footer

0.85 cr needed
Paused
#13

Quotes

2m 13sCredits in subtasks
Paused
#5

Architecture

0.2 cr needed
Paused
#6

Workspace task plan

0.2 cr needed
Paused
Landing design preview
Landing: Read intro and modules
Sign Up: Open enrollment form
Sign Up: 1. Create account
Sign Up: 2. Correct duplicate email
Login: Open sign-in form
Login: 1. Log in
Login: 2. Correct invalid credentials
New Quote: 1. Enter client info
New Quote: 2. Select module tab
New Quote: 3. Add task row
New Quote: 4. Fill task fields
New Quote: 5. Remove task row
New Quote: 6. Enter discount percent
New Quote: 7. Review grand total
New Quote: 8. Save quote
New Quote: 9. Retry failed save
New Quote: 10. Export PDF
New Quote: 11. Retry failed export
Quotes: 12. Confirm saved quote listed
Landing design preview
Landing: Read intro and modules
Sign Up: Open enrollment form
Sign Up: 1. Create account
Sign Up: 2. Correct duplicate email
Login: Open sign-in form
Login: 1. Log in
Login: 2. Correct invalid credentials
New Quote: 1. Enter client info
New Quote: 2. Select module tab
New Quote: 3. Add task row
New Quote: 4. Fill task fields
New Quote: 5. Remove task row
New Quote: 6. Enter discount percent
New Quote: 7. Review grand total
New Quote: 8. Save quote
New Quote: 9. Retry failed save
New Quote: 10. Export PDF
New Quote: 11. Retry failed export
Quotes: 12. Confirm saved quote listed