An open API service indexing awesome lists of open source software.

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

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
- Preview

- |

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
Preview


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


Build Status
Total Downloads
Latest Stable Version
License