Skip to content

Wesleydno/api-lumen-tdd

Repository files navigation

Api Rest Lumen com TDD

Projeto desenvolvido para servir com base em meus projetos pessoais.Também, escrevi alguns testes usando o PHPUnit. Utilizei o Postman para auxiliar nos testes.

Como instalar ?

  • Clone o repositório git clone https://github.com/Wesleydno/api-lumen-tdd.git
  • Rode o comando "composer install" para instalar os pacotes necessários
  • Rode o comando "php artisan key:generate" gerar uma chave para sua aplicação.
  • Informe as configurações do banco de dados no arquivo .env
  • Rode o comando "./artisan migrate" para criar as tabelas no banco

Como rodar os testes ?

  • Crie um usuário na base de dados
  • Rode o comando "vendor/phpunit/phpunit/phpunit"

Lumen PHP Framework

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.

Official Documentation

Documentation for the framework can be found on the Lumen website.

License

The Lumen framework is open-sourced software licensed under the MIT license.

About

API Rest Lumen com TDD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages