Skip to content

rammonfelip/backend-test-api

 
 

Repository files navigation

Back End Test Project

Desafio Back-End

Installing

  • PHP (^8.0);
  • Laravel (9.x)
  • Composer
  • phpunit

Clone the repository and run

composer install

  • Composer Install: Install the application dependencies, click here if you don't have composer installed.

Make a copy of the .env.example file, setting it to .env so that you can define application environment variables. Below will be the pre-defined information that you will have to fill in with the information of the database that you will use.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=banco_de_dados
DB_USERNAME=usuario_banco_de_dados
DB_PASSWORD=senha_banco_de_dados

After defining the necessary data to connect to your database, run the following command to create the tables.

php artisan migrate

And run the commando to generate APP_KEY

php artisan key:generate

Initializing the application

To start the application, by default, Laravel will start at the address (http://localhost:8000), executing the command

php artisan serve

API Documentation

To view the documentation, go to https://documenter.getpostman.com/view/24612120/2s8YsqVaS6

About

Coderockr Backend recruitment test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 95.5%
  • Blade 3.2%
  • Other 1.3%