• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
cissymoore

cissymoore

createanappthatallowsuserstopostdailyhabits

A social app for posting daily habits
Public
Like
createanappthatallowsuserstopostdailyhabits
Home
Code
6
backend
4
frontend
3
shared
1
README.md
H
brick-game.ts
new-file-9379.tsx
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
/
backend
/
database
/
README.md
Code
/
backend
/
database
/
README.md
Search
5/17/2025
README.md

Database Layer

This directory contains the database schema and query functions for the Side Hustle Hub application.

Files

  • migrations.ts: Contains the database schema definitions and initial setup
  • queries.ts: Contains typed query functions for interacting with the database

Database Schema

The application uses SQLite with the following tables:

  1. side_hustle_users_1: Stores user information
  2. side_hustle_opportunities_1: Stores side hustle opportunities
  3. side_hustle_chat_rooms_1: Stores chat room information
  4. side_hustle_messages_1: Stores chat messages

Usage

The database is initialized when the application starts by calling runMigrations() from the main backend entry point.

Query functions are exported from queries.ts and provide typed access to the database.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.