Ffcccxx
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v1View latest version
This project implements an admin panel system for approving or rejecting pending user registrations.
/index.ts- Main HTTP entry point that serves the admin panel UI/backend/- Backend API endpoints/backend/api.ts- API routes for pending users and status updates/backend/database.ts- Database setup and queries
/frontend/- Frontend assets/frontend/admin-panel.html- Admin panel HTML template
- View pending user registrations
- Approve or reject user requests
- Persistent storage using SQLite
- Bengali language interface
GET /api/pending-users- Retrieves all pending user registrationsPOST /api/update-status- Updates a user's status (approved/rejected)