Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vikas-ukani/packt-publication-backend
Packt Publication | An Online Books purchasing app.
https://github.com/vikas-ukani/packt-publication-backend
Last synced: about 1 month ago
JSON representation
Packt Publication | An Online Books purchasing app.
- Host: GitHub
- URL: https://github.com/vikas-ukani/packt-publication-backend
- Owner: vikas-ukani
- Created: 2022-09-22T18:25:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-25T07:35:37.000Z (over 2 years ago)
- Last Synced: 2023-03-06T09:37:47.901Z (almost 2 years ago)
- Language: PHP
- Size: 102 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Packt-Publication-Backend
## About the project
Packt-Publication is the online library and learning platform for professional developers. Learn Python, JavaScript, Angular, Web Development, App Development, Data Science and many more language with eBooks.## Pacakges and Versions
- PHP - 8
- Laravel - laravel/framework - "^9.19"
- Redis - predis/predis - "^2.0"---
## Features
This project is responsible for handling eBooks API ans fetching from database and store it's cache data inside redis cache storage.- Database Migrations
- Database Factory
- Database Seeder
- Categories APIs
- Books APIs
- Redis Cache Management
- Pagination Implementation
- Database RelationShip---
## Installation Process
### Clone this repo via below command,
```
git clone https://github.com/vikas-ukani/Packt-Publication-Backend.git
```### Copy .env file from .env.example
```
cp .env.example .env
```### Edit .env and Set Database Configurations.
```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=packt-database
DB_USERNAME=root
DB_PASSWORD=
```### Install Packages
```
composer install
```### Generate app key
```
php artisan key:generate
```### Migrate database
```
php artisan migrate
```OR with `--seed` flag to seed the database
```
php artisan migrate --seed
```### Seed Data
```
php artisan db:seed
```- It will create categories and random books factory data to testing more.
### Run the Project
```
php artisan serve
```