API documentation available here
- MySQL compatible database server
- PHP 7.4+
- Composer
- GIT
- Clone the project
git clone https://github.com/mimidotsuser/ecommerce-php.git
- Install the dependencies
composer install
- Copy
.env-example
to.env
cp .env-example .env
- Generate JWT secret key
php artisan jwt:secret
- Update the database credentials on the
.env
file. - Run database migrations
php artisan migrate
- Seed the database with dummy data
php artisan db:seed
- Run the server
php -S localhost:80 -t public
Note: If you want to use Docker, ensure you have docker compose installed.
The project is licensed under the MIT license.