Online Library Admission and Fee Rules Manager: Streamlined Renewal & Payment Tracking System
This prompt was originally published by prompts.chat and outlines an online library system with four main sections: dashboard, new admission and renewal, fees, and sheet distribution. It's a practical solution for managing student records in a library setting. I’ll walk you through how to use AI tools like ChatGPT or Claude to build this application from scratch. You'll get a fully functional app that works locally and can be deployed for free using GitHub Pages or Netlify.
We'll start by pasting the full prompt into an AI tool, running the output locally in your browser, and testing all features. We’ll also discuss how to fix bugs, enhance functionality, and deploy it using popular hosting platforms.
What you need
- A modern web browser
- Access to ChatGPT, Claude, Cursor, Lovable, or Bolt
- Basic understanding of HTML/CSS/JS (optional but helpful)
- A GitHub account for deployment
- Text editor like VS Code or any code editor
- Optional: Netlify or Vercel accounts for hosting
The full prompt
In my library there are 4 or section 1-new admission after completion of 1 month the student can renew there session, addmission could be done without initial fee payment but if the fee not paid within 10 days of admission the addmission can be cancelled or in red zone, after completion of 1 month the renew fee will also be paid within the 2nd months starting 10 days otherwise renewal will be cancelled, 2-In fee section a table will be displayed where monthly fee date wise stored and a function of payment history will also be added when the student record open then name address mobile admission date fee payment date and payment history list of past 5 months will be shown, 3-In attendance section one simple table is displayed where I can present or absent the student and also show the current day all present student and a each student how many days attend the library, 4-In sheet distribution section some selected no of sheets display one sheet for one student and the sheets are assigned shift wise there are 4 shift available 7am-1pm, 1pm-7pm,10am-3pm,10am-7pm1Paste the full prompt into an AI tool
Open your preferred AI coding assistant such as ChatGPT, Claude, or Cursor. Paste the exact full prompt from this page into the chat box. Be sure to include all details from the prompt including the four main sections: dashboard, new admission and renewal, fees, and sheet distribution.
AI tools like Lovable or v0 may not support complex prompts directly, so use a tool that can handle structured input. Ensure you're using an AI model capable of generating full HTML/CSS/JS apps.
After pasting, ask the AI to generate a complete working app with all features. If it doesn't output correctly, try rephrasing or breaking down the prompt into smaller sections for each feature.

Pro tip: If the output is too complex, ask AI to break the app into smaller components.
2Generate and save the code locally
Once you get a response from the AI, copy all the generated HTML/CSS/JS code. Save it in a new folder on your computer as index.html. Open this file directly in your browser to test the initial functionality.
The app should include a dashboard with four tabs or sections: New Admission, Fees, Attendance, and Sheet Distribution. Each section must have its own UI components based on the prompt.
If AI generates multiple files, ensure they are correctly linked together. You can use VS Code to preview locally using Live Server extension for better testing experience.
Pro tip: Use a local server like Live Server (VS Code extension) to see how your app behaves in real-time.
3Test dashboard and admission features
Navigate through the dashboard and check if you can switch between tabs. The first section is new admission and renewal.
Verify that:
- You can enter student details including name, address, mobile, and admission date.
- There’s logic to cancel admission if fees are not paid within 10 days.
- Renewal is allowed only after one month and must be paid within the next 10 days.
If you notice missing logic or UI issues, go back to the AI tool and ask for improvements. For example:
> "Fix the admission cancellation logic so it triggers if no payment is made in 10 days."
Use browser dev tools to inspect elements and ensure all data inputs are functional.
Pro tip: Use browser console logs to debug any JavaScript logic errors.
4Implement fee section with payment history
In the fees tab, make sure a table displays monthly fee dates. When a student record is opened, show:
- Name
- Address
- Mobile
- Admission date
- Fee payment date
- Payment history list of past 5 months
Use data structures like arrays or objects to store and display these values. If AI doesn’t generate the correct structure, ask it to create a mock database with sample data.
For example:
> "Generate JavaScript code that stores fee records in an array with keys like name, admissionDate, and payments."
Test this by manually entering data or using dummy entries in your HTML.
Pro tip: Mock up a few sample students with payment history to test how the UI displays past data.
5Add attendance tracking functionality
In the attendance section, create a table showing:
- Student name
- Present/Absent status
- Number of days attended
Also include a summary showing all students present on the current day.
Use checkboxes or buttons to mark attendance. Store this in local storage or an object array so it persists between sessions.
Example prompt to AI: > "Add logic to show how many days each student attended, and display today's present students at the top of the table."
Test by marking attendance manually and checking that data updates correctly.
Pro tip: Use CSS styling like green for present and red for absent to improve visual clarity.
6Build shift-based sheet distribution section
The last section is sheet distribution. Display a table or grid with:
- Student names
- Assigned sheet number
- Shift (7am, 1pm, 1pm, 7pm, etc.)
You can use shift IDs to assign sheets dynamically. Each student gets one sheet and the assignment depends on their shift.
Example prompt: > "Create a function that assigns sheets based on shift time. Show each student’s assigned sheet in a table."
Ensure that data is stored correctly so it persists between reloads, either via localStorage or by simulating backend behavior with objects.
Pro tip: Use dropdown menus for selecting shifts during admission to streamline assignment.
7Fix bugs and enhance UI/UX
After initial testing, look for inconsistencies or missing features. If the app crashes or doesn’t update state properly, go back to your AI tool with specific feedback:
> "Fix the bug where attendance does not save when marking a student as present."
Common issues include:
- Incorrect variable naming in JS
- Missing event listeners
- Incorrect data binding
Improve accessibility by adding proper labels and ARIA attributes for screen readers.
Make sure buttons and inputs are keyboard accessible. Test on different screen sizes to ensure responsiveness.
Pro tip: Add tooltips or hover effects to guide users through complex features.
8Deploy your app using GitHub Pages or Netlify
Once the app works locally, deploy it for free. Start by pushing code to GitHub:
- Create a new repo on GitHub.
- Push all files including
index.htmland any assets. - Enable GitHub Pages in repo settings.
Alternatively, use Netlify or Vercel:
- Drag and drop the folder into Netlify dashboard.
- Or connect your GitHub repo directly.
Once live, share the URL with others to test functionality.
The deployed version will be accessible from any device and can handle real-time updates if you implement dynamic features.
Pro tip: Use GitHub Pages for quick, free hosting without needing to set up a server.
9Test all sections thoroughly
Before publishing or sharing your app, manually test every section:
- Dashboard navigation
- Admission form submission and cancellation logic
- Fee payment history display
- Attendance marking and summary view
- Sheet assignment by shift
Ensure no errors occur when switching tabs or saving data. If you find issues, return to AI and refine the code.
Example follow-up prompt: > "Add a button to reset attendance records for testing purposes."
Use browser dev tools to monitor performance and confirm everything loads smoothly on different devices.
Pro tip: Create a user guide or README file in your repo to explain how to use each feature.
10Customize app for other institutions
This app can be adapted for any educational institution or library. To customize:
- Replace student names with employee IDs for corporate libraries.
- Change shifts to work hours (e.g., morning, afternoon).
- Adjust fee rules to match your own billing cycle.
You can also add new features like:
- Export data to CSV
- Email notifications on admission or renewal
- Admin login for restricted access
Use the same AI tool to suggest modifications. The core structure remains the same, just change labels, rules, and data models accordingly.
Pro tip: Keep templates of key components so you can reuse them across projects.
11Finalize deployment and share
After testing, finalize your deployment. Make sure:
- All links work correctly
- The UI is responsive on mobile devices
- Data persists after reloads
- Accessibility standards are met
Once confirmed, you can share the live URL with others. Consider writing a short blog post or documentation to help users understand how the app works.
This entire process took about 30 minutes using AI tools and a browser. It’s fast, flexible, and scalable, perfect for building tools that solve real-world problems in libraries and institutions.
Pro tip: Document your steps for future reference or to help others replicate the same app.
Adapt it to your own brand
- Replace student-specific fields with employee IDs for corporate environments
- Adjust fee structure and payment deadlines to match local rules
- Change shift times to reflect actual working hours in your library
- Add export functionality to generate reports in CSV or PDF format
- Integrate email notifications for admission, renewal, and missed payments
- Create an admin login system to restrict access to sensitive features
- Support multiple libraries by adding a dropdown to select the correct one
Common mistakes and fixes
- Forgetting to test all sections after AI output, always manually verify functionality
- Using incorrect data types or missing variable declarations in JavaScript
- Not handling form submission properly, leads to lost data entry
- Ignoring browser compatibility issues with localStorage or modern JS features
- Overlooking accessibility by omitting labels, alt tags, or keyboard support
- Trying to run the app locally without a local server, use Live Server for proper testing
Frequently asked questions
Can I build this app using any AI tool?
Yes, tools like ChatGPT, Claude, Cursor, Lovable, and v0 can all generate working HTML/CSS/JS apps from this prompt.
Do I need to know programming to use this tutorial?
Basic familiarity helps but isn't required. The AI handles the heavy lifting, you just guide it with clear prompts.
How long does it take to build this app?
With AI assistance, building and deploying this app takes around 30 minutes total.
Can I deploy the app for free?
Yes, GitHub Pages, Netlify, and Vercel offer free hosting options with no credit card required.
Final thoughts
This tutorial shows how to use AI tools like ChatGPT or Claude to build a full online library system based on the prompt from prompts.chat. You’ve learned how to turn a detailed requirement into working code, test each feature, and deploy it for free. Now it's your turn, copy the exact prompt above and start building your own version of this app.