Clone the repository:
git clone https://github.com/raprmdn/jds-be-tech-test.git
cd into the project directory:
cd jds-be-tech-test
Install the dependencies:
composer install
Note: If you're facing any issue with installation
laravel/passport
packageext-sodium
. Please enable in yourphp.ini
file.
Copy the .env.example
file to .env
:
cp .env.example .env
Generate the application key:
php artisan key:generate
Link the storage directory:
php artisan storage:link
Run the database migrations and seeders:
php artisan migrate --seed
Install the passport keys:
php artisan passport:install
Start the local development server:
php artisan serve
Redis is required to run the queue worker. You can download and install it from here.
After installing redis, run the redis server:
redis-server
Run the queue worker:
php artisan queue:work
The API Documentation is available at Postman