https://github.com/muhammadhabibfery/larabooks-api
REST API for Online Book Store with admin panel integration
https://github.com/muhammadhabibfery/larabooks-api
laravel-7 laravel-backend-api laravel-book-store laravel-online-book-store laravel-project laravel-rest-api
Last synced: about 2 months ago
JSON representation
REST API for Online Book Store with admin panel integration
- Host: GitHub
- URL: https://github.com/muhammadhabibfery/larabooks-api
- Owner: muhammadhabibfery
- Created: 2023-01-09T14:59:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-09T15:55:50.000Z (over 2 years ago)
- Last Synced: 2025-03-28T11:12:06.914Z (2 months ago)
- Topics: laravel-7, laravel-backend-api, laravel-book-store, laravel-online-book-store, laravel-project, laravel-rest-api
- Language: PHP
- Homepage:
- Size: 851 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
![]()
![]()
LaraBooks REST API
REST API for Online Book Store with admin panel integration.| [Admin Panel Features][] | [Requirements][] | [Install][] | [How to setting][] | [API Docs][] | [License][] |
## Admin Panel Features
-- |
Menu
| Description |
|-----------------------|-----------------------------------------------------------------------------------|
|Admin | Create user and manage the user's role. |
|Categories | Manage about all categories. |
|Books | Manage all type of the books. |
|Orders | Manage about all orders. |
|Profile | Edit user's profile and password. |## Requirements
PHP = ^7.4
laravel = ^7.0
laravel/sanctum = ^2.15
laravel/ui = ^2.1
kavist/rajaongkir = ^1.1
midtrans/midtrans-php = ^2.5## Install
Clone repo
```
git clone https://github.com/muhammadhabibfery/LaraBooks-API.git
```Install Composer
[Download Composer](https://getcomposer.org/download/)
composer update/install
```
composer install
```Install Nodejs
[Download Node.js](https://nodejs.org/en/download/)
NPM dependencies
```
npm install
```Using Laravel Mix
```
npm run dev
```## How to setting
Go into .env file change Database and Email credentials. Then setup the rajaongkir and midtrans configuration with your own credentials
```
RAJAONGKIR_API_KEY=MIDTRANS_SERVER_KEY =
MIDTRANS_PRODUCTION = false
MIDTRANS_SANITIZED = true
MIDTRANS_3DS = true|false
```Run the migration
```
php artisan migrate
```Or run the migration with seeder if you want seeding the related data
```
php artisan migrate --seed
```Generate a New Application Key
```
php artisan key:generate
```Create a symbolic link
```
php artisan storage:link
```## API Docs
Complete REST API Documentation can be found here## License
> Copyright (C) 2023 Muhammad Habib Fery.
**[⬆ back to top](#larabooks-rest-api)**[Admin Panel Features]:#admin-panel-features
[Requirements]:#requirements
[Install]:#install
[How to setting]:#how-to-setting
[API Docs]:#api-docs
[License]:#license