• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
desniland

desniland

dbssetprofile

Public
Like
dbssetprofile
Home
Code
5
backend
3
frontend
2
shared
1
untitled-folder-8076
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
Code
/
Search
index.ts
https://desniland--7549f990394f11f0aa569e149126039e.web.val.run
README.md

Student Profile Management System

A comprehensive student portal built on Val Town with profile management, academics tracking, financial information, social features, and document repository.

Features

  • Profile Management: View and edit student profiles with database persistence
  • Academics: Track units, examinations, and academic progress
  • Finances: Manage fee payments and view fee structures
  • Socials: Events, news, clubs, and projects
  • Repository: Access to logbooks, insurance, and mentor letters

Project Structure

β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ index.ts           # Main Hono server
β”‚   β”œβ”€β”€ database/
β”‚   β”‚   β”œβ”€β”€ schema.ts      # Database schema and migrations
β”‚   β”‚   └── queries.ts     # Database query functions
β”‚   └── routes/
β”‚       β”œβ”€β”€ profile.ts     # Profile management routes
β”‚       β”œβ”€β”€ academics.ts   # Academic data routes
β”‚       β”œβ”€β”€ finances.ts    # Financial data routes
β”‚       β”œβ”€β”€ socials.ts     # Social features routes
β”‚       └── repository.ts  # Document repository routes
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ index.html         # Main profile page
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ ProfileEditor.tsx  # Profile editing component
β”‚   β”‚   └── OptionModals.tsx   # Enhanced option modals
β”‚   └── style.css          # Styles
└── shared/
    └── types.ts           # Shared TypeScript types

Setup

  1. The backend automatically creates the database tables on first run
  2. Access the profile page at the root URL
  3. Use the API endpoints to manage data

API Endpoints

  • GET /api/profile/:id - Get student profile
  • PUT /api/profile/:id - Update student profile
  • GET /api/academics/:studentId - Get academic data
  • GET /api/finances/:studentId - Get financial data
  • GET /api/socials/events - Get events
  • GET /api/repository/:studentId - Get documents
HTTP
  • index.ts
    desniland--75…9e.web.val.run
Code
backendfrontendshareduntitled-folder-8076README.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.