Skip to content

meysam001/GO2TR-test

Repository files navigation

Go2TR Test Backend Project

Installation

# clone from git
git clone [email protected]:meysam001/GO2TR-test.git

# install packages
cd GO2TR-test
composer install

# create .env file
copy .env.example .env

# generate key
php artisan key:generate

# create a database and set its config to .env file

# generate tables
php artisan migrate

# insert data
php artisan db:seed

API Documentation (Swagger)

Run following endpoint, api/documentation e.g: http://localhost/GO2TR/public/api/documentation to see api documentation. or import the file, public/docs/api-docs.json into a swagger online editor like: https://editor.swagger.io/

Unit Test

Run following command to run tests:

vendor/bin/phpunit ./tests/Feature

About

GO2TR Test Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published