Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.
/ lendinglibapi Public archive

Lumen restful api for lendinglib project

Notifications You must be signed in to change notification settings

arysom/lendinglibapi

Repository files navigation

Lending library project api

Simple lending lib project php api made with Lumen - the Laravel framework's spin off microframework.

Including:

  • Eloquent
  • Bearer token authentication
  • Carbon

Installation

  1. git clone, cp .env.example .env
  2. Setup the database, add the key to the .env with similar command php -r "require 'vendor/autoload.php'; echo str_random(32).PHP_EOL;"
  3. Run the php server php -S 0.0.0.0:8000 -t public/
  4. Hit the endpoints, see the routes/web.php to get an overview
  5. Run migrations and seeds - php artisan migrate:fresh --seed

Todo

  • Postman collection
  • Tests
  • Cleanup

License

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

About

Lumen restful api for lendinglib project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages