Skip to content

aufarijaal/online-book-store-backend

Repository files navigation

Laravel Book Store Backend App

Demo step:

  1. Clone the repository.
git clone https://www.github.com/aufarijaal/online-book-store-backend
  1. Go to cloned folder
cd online-book-store-backend
  1. Generate key
php artisan key:genereate
  1. Set up midtrans keys and the front end url in .env
MIDTRANS_SERVER_KEY="serverkey"
MIDTRANS_CLIENT_KEY="clientkey"
MIDTRANS_IS_PRODUCTION=false
FRONTEND_URL=urlhere # if not specified, it will use http://localhost:3000
  1. Install dependencies
composer install
  1. Migrate and seed the database
php artisan migrate --seed
  1. Generate ngrok public url by running. ensure ngrok is installed.
ngrok http http://localhost:8000 # or adjust it to your laravel server port

About

Online Book Store backend repo named Garadia 🍒

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages