Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

ssi-anik/laravel-restful-api

Repository files navigation

Laravel RESTful API

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.

Installation

This is a dockerized application. Do the following

Not Mandatory but good to have:

  • docker & docker-compose installed in your PC.

To do:

  • Clone this repository.
  • cd into the cloned repository.
  • Copy docker-compose.yml.example to docker-compose.yml.
  • Run docker-compose up -d --build.
  • Change necessary ports & credentials.
  • Copy .env.example to .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.

About

Basic laravel restful api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages