Skip to content

ogunsakin01/soap_box_challenge

Repository files navigation

Soapbox Backend API Challenge

Installation

General Requirements

  • PHP 7.4
  • Composer

General Installation

  • Run composer install;
  • Copy .env.example to .env;
  • Run php artisan key:generate.
  • Run php artisan optimize:clear
  • Update the following environment variable to use the database connection of your choice
DB_CONNECTION=****
DB_HOST=****
DB_PORT=****
DB_DATABASE=****
DB_USERNAME=****
DB_PASSWORD=****
  • Run php artisan migrate.
  • Run php artisan passport:install.
  • Update the following environment variable to use mailer settings of choice
MAIL_MAILER=****
MAIL_HOST=****
MAIL_PORT=****
MAIL_USERNAME=****
MAIL_PASSWORD=****
MAIL_ENCRYPTION=****
MAIL_FROM_ADDRESS=****
MAIL_FROM_NAME=****
  • Run php artisan serve.

Testing

To test this API, please run either of this commands in the root folder of the project

php artisan test

or

vendor\bin\phpunit

API Documentation

The API documentation can be found at https://documenter.getpostman.com/view/3172372/Tz5ncJbP

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published