▲AdFollowUpApp▲

A full-stack TypeScript application for managing ad follow-ups with user authentication.

Features

  • 🔐 User authentication (email/password)
  • 📊 SQLite database with user management
  • 🎨 Modern UI with TailwindCSS
  • ⚡ Built with Hono backend and React frontend
  • 🔒 Secure session management

Project Structure

├── 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

Getting Started

  1. Set up environment variables (if needed)
  2. The application will automatically create the SQLite database on first run
  3. Navigate to the application URL to see the login/register interface

API Endpoints

  • POST /api/auth/register - User registration
  • POST /api/auth/login - User login
  • POST /api/auth/logout - User logout
  • GET /api/auth/me - Get current user info

Database Schema

  • users table with id, email, password_hash, created_at, updated_at