Skip to content

humble92/laravel-dlcg

Repository files navigation

Build Status Total Downloads Latest Stable Version License

laravel-dlcg

Prerequisites

  • Dockerd is installed
  • php 8.1

Installation

  1. Clone repository and set up .env variables with your favorite editors.
git clone https://github.com/humble92/laravel-dlcg.git
cd laravel-dlcg
cp .env_example .env
vi .env
  1. Install
composer install --ignore-platform-reqs
npm install
npm run dev
alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
  1. Run servers.
sudo sail up
  1. DB migration

Import sample.sql into your DB with your favorite mysql client tools.

Then, migrate to apply for foreign keys on appropriate tables.

sudo sail artisan migrate
  1. Connect to server

You can connect to the server http://localhost

http://localhost/management
http://localhost/api/categories
http://localhost/api/products

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

For Dominion Lending Centres

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published