This is a simple web application and API for products tender. It is built using Laravel
Notice: This is for learning purpose, this project is not production ready.
- It web based
- REST API
It is built using laravel. Check out client android application Here
-
PHP, Composer
-
MySQL database
git clone git@github.com:muhozi/auction-application.git
This project uses laravel (php framework) and you need to have a php package manager installed which is Composer
cd auction-backend
composer install
Copy the contents of .env.example
by running the following:
cp .env.examle .env
Run the following command to generate the application key(for encryption and hashing)
php artisan key:generate
Create database and replace DB connnection details section in .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db_name
DB_USERNAME=db_username
DB_PASSWORD=db_password
Run migration by running the following command:
php artisan migrate
Run the following command to set up for requirements to use passport(Laravel JWT authentication package). This will generate encryption keys and OAuth clients(Personal and Password grant clients)
php artisan passport:install
Run the application using the following command:
php artisan serve