A user-friendly admin dashboard for managing users, products, batches, and reports, designed for efficient business management.
- Clone the Repository
git clone https://github.com/sasankadeshapriya/order-processing-backend-laravel.git cd order-processing-backend-laravel
- Copy the Example Environment File
This will create a new .env file in your project directory.
cp .env.example .env
- Update the
.env
File
Open the .env file and configure the settings according to your environment.
GOOGLE_MAPS_API_KEY, API_URL, DB_DATABASE, DB_USERNAME, DB_PASSWORD
Here's a sample configuration (Make sure to replace placeholder values with your own configuration details. ):APP_NAME=Laravel APP_ENV=local APP_KEY=base64:cP/7cLh2aVWOwPgElwOarscmtjxuNqXxpvhkgtJoOYM= APP_DEBUG=true APP_TIMEZONE=UTC APP_URL=http://localhost APP_LOCALE=en APP_FALLBACK_LOCALE=en APP_FAKER_LOCALE=en_US APP_MAINTENANCE_DRIVER=file APP_MAINTENANCE_STORE=database BCRYPT_ROUNDS=12 LOG_CHANNEL=stack LOG_STACK=single LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=dashboard DB_USERNAME=root DB_PASSWORD= SESSION_DRIVER=database SESSION_LIFETIME=120 SESSION_ENCRYPT=false SESSION_PATH=/ SESSION_DOMAIN=null SESSION_EXPIRE_ON_CLOSE=true BROADCAST_CONNECTION=log FILESYSTEM_DISK=local QUEUE_CONNECTION=database CACHE_STORE=database CACHE_PREFIX= MEMCACHED_HOST=127.0.0.1 REDIS_CLIENT=phpredis REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379 MAIL_MAILER=log MAIL_HOST=127.0.0.1 MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS="hello@example.com" MAIL_FROM_NAME="${APP_NAME}" AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_DEFAULT_REGION=us-east-1 AWS_BUCKET= AWS_USE_PATH_STYLE_ENDPOINT=false VITE_APP_NAME="${APP_NAME}" GOOGLE_MAPS_API_KEY="your_key" API_URL=http://api.mysite.com
- Install Dependencies
composer install php artisan key:generate
- Run Migrations
php artisan migrate
- Serve the Application
The application will be available at http://localhost:8000 by default.php artisan serve
git clone https://github.com/sasankadeshapriya/order-processing-api-nodejs.git
git clone https://github.com/sasankadeshapriya/order-processing-app-flutter.git