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 miliseconds.
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