Q-stack is a platform for competitive exam-takers to practice their skills and understanding on a per topic level. The Platforms USP is the volume of test series available under each topic, this is largely achieved by extensive use of Artificial Intelligence of APIs for question framing and in the future performance analysis and supplement study guide using Artificial intelligence. 
PROPOSED SOLUTION
A web-app for the test-takers with a landing page. 
An admin dashboard to manage category of tests and test series 
AI options - OpenAI, Anthropic, Google
Serverless services architecture with NO VENDOR LOCK-IN 
NextJS / NodeJS /ExpressJS for API & Frontend development
SCOPE OF WORK
ADMIN PANEL
User management 
Create and manage multiple admin users with defined roles
Customer details listing and export to excel
Checks user’s total attempted questions and test series 
See user’s payment / subscription history
Activate / Deactivate user 
Invoice Generation & listing 
Exam Planner - MASTER DATA
Define and manage multiple exams 
Define a hierarchy of categories under each exam
Define number of questions in each paper
Question bank manager
Each question will belong to a hierarchy of category 
Bulk upload questions & answers 
The question might also present an image for reference
Provision for the answer to be in the following formats
Multiple Choice questions
Single Answer 
Multiple Answers
Test-paper generation under each category using random pickup of questions from question bank for each individual category.
User Attempts
A listing of all the user’s attempts with rule based calculation of result and performance of student 
Subscription Management
Define price of Yearly subscription 
Define free trial access to content on the platform.
General Documentation
Terms and Conditions rich text editor
Privacy Policy rich text editor
Transaction listing - list of all the transactions happening on the platform
Payment gateway integration with choice of Payment gateway provider.
Web App
Register/Login using Google Login, Email password combo 
Forgot password / Reset password
User profile
Take input’s about current educational background in the below form
Highest education ? 
Attempting which exams ?
Location ? 
Standard 5 test-series trial with no results being stored.
Browse through products and subscribe to the product 
Payment gateway integration using RazorPay ( subscription payments will have to be evaluated ) 
Student’s can browse a list of all the test-series that match their “Attempting exams” criteria 
Based on available test credits user’s can attempt test-series 
Upon starting a test, a timer is presented to the indicating how much time they have already spent on the test series 
User’s can view results of the test they took in the my results tab 
Result will contain the following
Avg. time to attempt a question
Scores for each topic 
Avg time to attempt a question per topic for the test 
Over and above the per test result the user will also be presented with global stats, taking into account all the tests they have previously taken and calculating the average across the tests.

Write a prisma schema, nextjs api routes their responses and requests and frontend pages