Skip to content

A demo Laravel application showcasing core features like routing, Eloquent ORM, authentication, and basic CRUD operations. Perfect for learning and quick prototyping. Stay tuned for new features—follow for updates!

Notifications You must be signed in to change notification settings

sanjaydeveloper15/cannabis-shop

Repository files navigation

Laravel Logo

Build Status Total Downloads Latest Stable Version License


🌟 About Laravel

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.


⚙️ Requirements

  • PHP: Minimum version 7.x or higher
  • Composer: Dependency manager for PHP
  • Web Server: Apache or similar

🚀 Steps to Run the Project

Follow these steps to set up and run the project locally:

1. Clone the Repository

git clone https://github.com/sanjaydeveloper15/cannabis-shop
cd cannabis-shop

2. Install Dependencies

Run the following command to install PHP dependencies:

composer install

3. Create the .env File

Create a new .env file in the root directory:

cp .env.example .env

4. Configure the .env File

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

5. Run Database Migrations

Run the following command to set up the database tables:

php artisan migrate

6. Seed the Database

Seed the database with initial data:

php artisan db:seed

7. Generate the Application Key

php artisan key:generate

8. Start the Development Server

Run the application using the Laravel development server:

php artisan serve

9. Access the Application

Open your browser and navigate to: http://localhost:8000
Or replace localhost with your server's IP address if deployed elsewhere.


🔐 Admin Routes

Admin Login

  • URL: /admin/login
  • Credentials:
    • Email: admin@cannabis.com
    • Password: 123456789

Replace the IP or domain in the URL if accessing from a different host.


📄 License

The Laravel framework is open-source software licensed under the MIT License.

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

❤️ Found this project useful?

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!

About

A demo Laravel application showcasing core features like routing, Eloquent ORM, authentication, and basic CRUD operations. Perfect for learning and quick prototyping. Stay tuned for new features—follow for updates!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published