Build a Mutual Fund Explorer with SIP Calculator (Next.js + MUI) #174814
Unanswered
develper21
asked this question in
Programming Help
Replies: 1 comment
-
You've already planned out the frameworks and libraries you'll use. So Ig you dont need a lot of help there. I'll list some of the resources that'll help you:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Body
Objective Help In This Task How can I'm completed this
Create a Next.js application that:
Data Source
You will use MFAPI.in:
https://api.mfapi.in/mf
https://api.mfapi.in/mf/{SCHEME_CODE}
Part 1: API Wrappers (Backend with Next.js)
You must implement the following API routes inside
src/api/
:List all schemes
GET /api/mf
Scheme details (metadata + NAV history)
GET /api/scheme/:code
Returns calculator
GET /api/scheme/:code/returns
Query parameters:
period=1m|3m|6m|1y
(standard periods) ORfrom=YYYY-MM-DD&to=YYYY-MM-DD
(custom duration).Response includes:
SIP calculator
POST /api/scheme/:code/sip
Request body:
Response includes:
Part 2: Frontend Pages (Next.js + MUI)
Build the following pages:
Fund Search / Listing Page (
/funds
)Scheme Detail Page (
/scheme/[code]
)SIP Calculator Section (inside scheme detail page)
Form fields: SIP amount, frequency, start date, end date.
Button: “Calculate Returns”.
Show results in a Card:
Chart showing growth of investment over time.
Part 3: SIP Calculation Rules
On each SIP date:
At end date (or latest NAV available):
Handle edge cases:
0.00000
→ skip or mark invalid.needs_review
.Part 4: Technical Requirements
Use Next.js (API routes + pages).
Use Material UI (MUI) for design:
Use MUI Charts (or Recharts) for visualizing:
Cache
/mf
and per-scheme NAVs in memory (12–24 hours TTL).Be creative:
Now that you have access to all the fund data, think about what additional features you could implement to increase the overall value of your application. For example, you might add:
Use this opportunity to go beyond the basic requirements and showcase your creativity.
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions