Skip to content

pablo-codes/blog-api

Repository files navigation

Blog Api

CRUD Blog Api

A Blog Api created for the Courierplus - Backend Developer Assessment.

Installation

Step-by-step instructions to set up the project locally:

  1. Clone the repository:

    git clone https://github.com/pablo-codes/blog-api.git
    cd blog-api
    
  2. Install dependencies:

composer install
  1. Generate an application key
php artisan key:generate
  1. Run the migrations
php artisan migrate
  1. Seed the database (i.e Data is needed in the table for some operations)
php artisan db:seed
  1. Serve the application:
php artisan serve

or TEST

php artisan test

Usage

  • Click on the example in the post man request.
  • Click on try.
  • View Documentation to see expected responses for success and error.

Postman

  • The Json file.

NB:Errors are logged in blog_api_error.log while info in blog_api.log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published