I was searching for basic auth based RESTful application on Laravel or Lumen. I was trying to learn React & Redux. But could not find any. Was lazy enough to build a new one. As nothing did help me, have to write one for myself. Use it for free. Make changes & send PRs. Intentionally, it is for REST purpose. Can consume the API by mobile or front-end applications.
This is a dockerized application. Do the following
Not Mandatory but good to have:
docker&docker-composeinstalled in your PC.
To do:
- Clone this repository.
cdinto the cloned repository.- Copy
docker-compose.yml.exampletodocker-compose.yml. - Run
docker-compose up -d --build. - Change necessary ports & credentials.
- Copy
.env.exampleto.env. - Change necessary values.
- Either ssh into your container or run from your local machine
composer install. - Either ssh into your container or run from your local machine
php artisan key:generate. - Either ssh into your container or run from your local machine
php artisan migrate --seed. - Open your browser & hit to
http://127.0.0.1:PORT_NUMBER.