Skip to content

This is my thesis application present to Birentcar Transport Agency and thanks to my backend friends @Aprilandi

Notifications You must be signed in to change notification settings

9Alpha9/travel-web

Repository files navigation

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Clone Repo Projects

Start with clone this repo.

https://github.com/9Alpha9/travel-web.git

NPM Installation

Install via npm for add node-packages modules Tailwind Css.

> cd travel-web
npm install

Composer Installation And Migration

Install via artisan for run laravel packages modules.

> locate to travel-web folder

composer install
mv .env.example .env

> create DB name birentcar_travel
> Migration database with run this command on your terminal

php artisan migrate

Add Google Configuration

First of all locate to google services to app/Http/config/services.php and add this command.

'google' => [
    'client_id'     => env('GOOGLE_CLIENT_ID'),
    'client_secret' => env('GOOGLE_APP_SECRET'),
    'redirect'      => env('GOOGLE_REDIRECT'),
],

Next Add This Code Into .env

This is important, please add this code into your .env files for GOOGLE CLIENT and please register your account for add GOOGLE CLIENT ID.

GOOGLE_CLIENT_ID=your-client-ID
GOOGLE_APP_SECRET=google-secreat-key
GOOGLE_REDIRECT=http://127.0.0.1:8000/auth/callback

Note please register your Google API Token to Google Console Cloud

Add Midtrans Configuration

locate to .env and add this code.

MIDTRANS_IS_PRODUCTION=false
MIDTRANS_MERCHAT_ID=your-merchant-ID
MIDTRANS_CLIENT_KEY=SB-Mid-client-your-client-KEY
MIDTRANS_SERVER_KEY=SB-Mid-server-your-server-KEY

Note please register your Midtrans API to Midtrans Official Website for testing Midtrans you can visit Midtrans Mock Payment Testing

Next Generate Key Php Artisan.

type this command into your terminal for generate Key into your Php projects.

php artisan key:generate

Note this command for generate APP_KEY on your .env

Sass Compilling Extension

I'm using Sass for create a external Css for better styles, so u need Sass compiler extensions on your Code Editor for create a Css with Sass styles components. After you install the extensions, click Watch Sass and start styling component with Sass.

Run The Projects

Finnal steps. Run the projects by type this command in to terminal.

> run Xampp or another Database engine
npm run watch
php artisan serve

Laravel Version Php Version Remix Icon
8.83 7.4.33 v3.5.0

About

This is my thesis application present to Birentcar Transport Agency and thanks to my backend friends @Aprilandi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published