Advertapp
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: v8View latest version
A full-stack TypeScript application for managing ad follow-ups with user authentication.
- π User authentication (email/password)
- π SQLite database with user management
- π¨ Modern UI with TailwindCSS
- β‘ Built with Hono backend and React frontend
- π Secure session management
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema and migrations
β β βββ queries.ts # Database query functions
β βββ routes/
β β βββ auth.ts # Authentication routes
β β βββ static.ts # Static file serving
β βββ index.ts # Main Hono server
βββ frontend/
β βββ components/
β β βββ App.tsx # Main React app
β β βββ Login.tsx # Login component
β β βββ Register.tsx # Registration component
β β βββ Dashboard.tsx # User dashboard
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
β βββ style.css # Custom styles
βββ shared/
β βββ types.ts # Shared TypeScript types
βββ README.md
- Set up environment variables (if needed)
- The application will automatically create the SQLite database on first run
- Navigate to the application URL to see the login/register interface
POST /api/auth/register- User registrationPOST /api/auth/login- User loginPOST /api/auth/logout- User logoutGET /api/auth/me- Get current user info
- users table with id, email, password_hash, created_at, updated_at