Skip to content

mrminnkhantnaing/laravel-task-api

Repository files navigation

TASK API

About Task API

The Task API is a simple CRUD API project that follows OOP best practices and adheres to SOLID principles. It utilizes Sanctum for authentication. The tests have been implemented, powered by the 'Pest' testing framework, and integrated with GitHub Actions to automatically run tests on 'push' or 'pull' requests to the 'main' branch.


Installation

Clone the repository:

git clone https://github.com/mrminnkhantnaing/task-api.git

Create .env file from .env.example:

cp .env.example .env

Install composer packages:

composer install

Generate application key:

php artisan key:generate

Run migration and seeder:

php artisan migrate:fresh --seed

Run it in localhost:

php artisan serve

Authenticate using the following details


Run the test

php artisan test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published