Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vl-037/amazing-e-book
https://github.com/vl-037/amazing-e-book
composer laravel mysql php
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vl-037/amazing-e-book
- Owner: VL-037
- Created: 2022-02-08T09:51:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-12T16:12:38.000Z (over 1 year ago)
- Last Synced: 2024-11-05T15:32:54.935Z (2 months ago)
- Topics: composer, laravel, mysql, php
- Language: PHP
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Amazing E-Book
This is a mini book renting website. With `IDN` & `ENG` language localization.
### Preview
https://github.com/VL-037/Amazing-E-Book/assets/68309124/7ac3143d-a46c-409d-bea9-55cc689b2ef1
### To run this project, please do the following:
Make sure you have these tools
| Tool | Detail |
|-------------------|--------|
| PHP | https://www.php.net/downloads.php |
| Composer | https://getcomposer.org/download |
| XAMPP | https://sourceforge.net/projects/xampp |- Create a .env file in the root directory and add the following code
```
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:I+Hz+rXhhVMR0KhqvE6/hNUhfvScExxX2giFRi55ITM=
APP_DEBUG=true
APP_URL=http://localhostDB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=amazingebook
DB_USERNAME=root
DB_PASSWORD=
```- Run MySQL & Apache from `XAMPP`
- Open http://localhost/phpmyadmin
- Create a database same to `DB_DATABASE` .env variable
- Then run the following commands to start the app
```
composer install
php artisan migrate:fresh --seed
php artisan serve
```