Paakwaan is a web application platform for reading and publishing Thai novels. It provides a space for authors to share their stories and readers to discover and enjoy Thai literature.
Features
-
📚 Novel Management System
- Categories (Fantasy, Romance, etc.)
- Series and Short Story support
- Chapter organization
- Cover image support
- View counting
-
👥 User System
- Author profiles
- Admin dashboard
- Authentication system
-
📱 Modern UI
- Responsive design
- Built with Tailwind CSS
- Laravel Blade templates
Prerequisites
- PHP 8.1 or higher
- Composer
- Node.js and npm
- SQLite 3
Installation
- Clone the repository:
bashhttps://github.com/kimkorngmao/NovelApp.git cd NovelApp
- Install PHP dependencies:
bashcomposer install
- Install JavaScript dependencies:
bashnpm install
- Create environment file:
bashcp .env.example .env
- Generate application key:
bashphp artisan key:generate
- Storage:
bashphp artisan storage:link
- Run the migrations and seeders:
bashphp artisan migrate --seed
Development
- Start the Vite development server:
bashnpm run dev
- Start the Laravel development server:
bashphp artisan serve
The application will be available at http://localhost:8000
Default Admin Account
After seeding the database, you can login with these credentials:
- Email: admin@example.com
- Password: password
Database Structure
Novel Categories
- Categories for organizing novels (e.g., Fantasy, Romance)
- Each category has a name, slug, description, and optional icon
Novels
- Title
- Description
- Cover image
- Status (ongoing/completed)
- Category association
- Author (User) association
Chapters
- Title
- Content
- Chapter number
- View count
- Publication status