Laravel is a web application framework with expressive and elegant syntax. It aims to make development enjoyable and creative while providing robust tools for building scalable applications.
With its accessibility and power, Laravel is the go-to framework for creating large-scale and sophisticated web applications.
- PHP: Minimum version 7.x or higher
- Composer: Dependency manager for PHP
- Web Server: Apache or similar
Follow these steps to set up and run the project locally:
git clone https://github.com/sanjaydeveloper15/cannabis-shop
cd cannabis-shop
Run the following command to install PHP dependencies:
composer install
Create a new .env
file in the root directory:
cp .env.example .env
Edit the .env
file and update the database credentials:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password
Run the following command to set up the database tables:
php artisan migrate
Seed the database with initial data:
php artisan db:seed
php artisan key:generate
Run the application using the Laravel development server:
php artisan serve
Open your browser and navigate to:
http://localhost:8000
Or replace localhost
with your server's IP address if deployed elsewhere.
- URL:
/admin/login
- Credentials:
- Email:
admin@cannabis.com
- Password:
123456789
- Email:
Replace the IP or domain in the URL if accessing from a different host.
The Laravel framework is open-source software licensed under the MIT License.
If you'd like to contribute to this project, feel free to fork the repo, create a branch, and submit a pull request. Make sure to follow the coding conventions and write tests where applicable.
This project is licensed under the MIT License - see the LICENSE file for details.
If you found this project useful, then please consider giving it a ⭐️ on Github and sharing it with your friends via social media.
Feel free to reach out to me through @sanjaykumarwebs if you have any questions or feedback!