this web application allows users to browse, read, and download books. It features user authentication, book management, and an admin panel for content management.
- User Authentication (Register, Login)
- Browse books by categories and authors
- Read books online
- Download books
- Add books to favorites
- User profile management
- Admin panel for CRUD operations on categories, authors, and books
- Backend: Laravel
- Frontend: Custom CSS and vanilla JavaScript
- Database: MySQL
- PHP >= 7.3
- Composer
- Node.js and npm
- [Any other specific requirements]
-
Clone the repository: gh repo clone BLLALL/Online-Library-laravelDeveloped
-
Install PHP dependencies: composer install
-
Install JavaScript dependencies: npm install
-
Create a copy of the .env file: cp .env.example .env
-
Configure your database in the .env file: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_database_username DB_PASSWORD=your_database_password
-
Generate application key: php artisan key:generate
-
Run database migrations: php artisan migrate
-
Start the development server: php artisan serve
- Visit
http://localhost:8000/home
in your web browser - Register a new account and log in
- Browse books, read online, or download
- Admins can access the admin panel at
/admin
to manage content