- PHP >=7.2 with extension requirements given as in Laravel's documentation.
- Install web server: apache or nginx
- Node & NPM LTS Stable Release.
- Composer Stable Release.
- Any Database of your choice, I have used MySQL.
- Install server Redis
- Install server Elastic search
- Lumen 6x.
- JWT Auth for Lumen Application. [1]
- Dingo to easily and quickly build your own API. [1]
- Lumen Generator to make development even easier and faster.
- CORS and Preflight Request support.
- transformer fractal
- Laravel Cors
- PHP-VCR
- Beanstalk Beanstalk is a simple, fast work queue.
- laravel-beanstalkd-admin-ui An Admin UI for Beanstalkd and Laravel
- E-Mail Verification/Confirmation for new users.
- JWT Setup for your APIs.
- Transform Request Middleware for your boolean inputs in requests.
- Basic Contracts to Repositories binding sample for Auth Logic.
- Queue: beanstalk
# Installs all the necessary packages required to run the app
> composer install;
# Creates your dotEnv file
> cp .env.example .env;
# Setup config dingo in
> .env
# Gives permission to these directories
> chmod -R 777 bootstrap/ storage/;
# Generates app secret
> php artisan key:generate;
# Generates jwt secret
> php artisan jwt:secret;
# Create queue vs queue fail table
> php artisan queue:failed-table
> php artisan queue:table
# Creates the required tables into your database
# Note: Please do remember to create your database before you run this command!
> php artisan migrate;
# Installs all the npm packages
> npm install;
# Run db examlple
> php artisan migrate --seed
- Run a PHP built in server from your root project:
# You can either run it on localhost or you can have the virtualhost configuration
# in a server of your choice (We prefer nginx / apache)
php -S localhost:8000 -t public/
- Or via artisan command:
php artisan serve
# Lists all the web routes defined for your web-app
php artisan route:list
- auth/login: Login
- auth/register; Register
- auth/refresh: Refresh
- auth/user: GetInfo
- auth/user: Update infomation
- auth/password: Thay đổi mật khẩu