Tuesday, September 18, 2018

Create API Service with Lumen 5.2

Useful Tools:

1. APIDOC (Inline Documentation for RESTful web APIs)
npm install -g apidoc

2. Project Preparation : Getting Lumen Installer
 composer global require "laravel/lumen-installer"

 3. Project Initialization
lumen new blog
that command will install a startup project in folder "blog" with latest Lumen version. As a note, this will require latest PHP version also. If you have old php version installed on your server and don't want to upgrade, you can use older version of lumen for example is version 5.2 which still able to use PHP 5.5x.
composer create-project laravel/lumen blog "5.2"
Check the latest installation requirements based on Lumen and its version here: https://lumen.laravel.com/docs/installation 

4. Route
Use prefix "api"
$app->group(['namespace' => "App\Http\Controllers", 'prefix' => 'api'], function($app){
    $app->get('/lessons', 'LessonsController@index');  
});
Share:

Saturday, September 15, 2018

Invstor's Check List

1. IDEAS

  • Something you're passionate about
  • Doesn't have to be original
  • Look for proven model in another market
  • Challenging enough to solve
  • Big enough market to serve
2. TEAM
  • Hangout with best people & work with them
  • Form a team with super combo:
    - Founder A : Can biz + finance
    - Founder B : Can do coding
    - Founder C : Can do marketing + design
    - Super adviser
3. PRODUCT
  • Build quick mockup as cheap as possible but enough to show that your team have good understanding of the product & how to tackle the problem.
  • Excellent UI/UX
  • Back-end system allow enough analytic
  • Technology that can scale
4. Traction
  • User vs Customers (cost to get customers)
  • Partnerships / listings / deals
5. REVENUE + PROFIT
  • Cost to get a sales
  • Margine
  • Expansion & scale

Share: