kiptoo-korir / data-sharing-api-tutorial

A demonstration project to portray how to share data across multiple api endpoints in a Laravel app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data Sharing Api Project

A demonstration project to portray how to share data across multiple api endpoints in a laravel app. The tutorial, written on medium, can be found here.

Important Note

The repository contains two branches, the main branch and the tutorial branch. The main branch contains the end product of the tutorial while the tutorial branch will enable you to follow along with the tutorial.

Project Setup

  1. Clone the project git clone git@github.com:kiptoo-korir/data-sharing-api-tutorial.git
  2. Setup the environment variables and setup the database
  3. Install the dependencies using composer composer update
  4. Migrate the tables php artisan migrate
  5. Seed the data php artisan db:seed
  6. Checkout to the branch you need
  7. Run the app using php artisan serve

About

A demonstration project to portray how to share data across multiple api endpoints in a Laravel app.


Languages

Language:PHP 82.5%Language:Blade 16.7%Language:Shell 0.8%