The Softfusion APIs are HTTP-based RESTful APIs that use OAuth 2.0 for authorization. API request and response bodies are formatted in JSON.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
The Laravel framework has a few system requirements. Of course, all of these requirements are satisfied by the Laravel Homestead virtual machine, so it's highly recommended that you use Homestead as your local Laravel development environment.
However, if you are not using Homestead, you will need to make sure your server meets the following requirements:
* PHP >= 7.1.3
* OpenSSL PHP Extension
* PDO PHP Extension
* Mbstring PHP Extension
* Tokenizer PHP Extension
* XML PHP Extension
* Ctype PHP Extension
* JSON PHP Extension
* Composer
* NPM/Node
* Git
Log into Bitbucket Server
git clone https://[email protected]/softfusion-gokapital/api-softfusion.git
cd api-Softfusion
Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.
Command in your terminal:
composer install
Run npm install
npm install
Copy .env.example file to .env on root folder.
copy .env.example .env (windows)
cp .env.example .env (ubuntu)
Open your .env file and change:
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
Run follow commands
php artisan key:generate
php artisan migrate
php artisan db:seed
php artisan passport:install
php artisan storage:link
Run the automated tests for this system, API Softfusion use PHPunit for test every endpoint
./vendor/bin/phpunit
For all endpoints documentation visit:
Para modificar la base de datos se debe agregar los siguientes comandos
php artisan migrate:refresh --force
php artisan passport:install
php artisan db:seed --force
- Laravel - The artisan framework used version 5.6
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Mauricio Suarez Vega - [email protected]
- Cristian Cespedes - [email protected]
- Carlos Moreno - [email protected]
- Alejandro Cepeda - [email protected]