Posts

JWT Laravel Auth..

Image
 App/Http/Kernel.php  protected $routeMiddleware = [        'jwt.healthpro' => \App\Http\Middleware\Healthpro::class, 'jwt.Clientmiddleware' => \App\Http\Middleware\Clientmiddleware::class,     ]; Api.php  Route::group(['middleware' => ['jwt.healthpro']], function() {     Route::any('/get_state_list', [App\Http\Controllers\Userapis::class, 'get_state_list']);     Route::post('/get_city_list',[App\Http\Controllers\Userapis::class, 'get_city_list']); }); Controller.php <?php namespace App\Http\Controllers; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Routing\Controller as BaseController; use Validator; use Carbon\Carbon; use DB; use Illuminate\Support\Facades\Auth; use App\Models\User; use App\Models\Client; use App\Models\Professional; use App\Models\Profession; use App\

Saved images and data on firebase.sample code from github

Firebase  is a mobile platform that helps you quickly develop high-quality apps, grow your user base, and earn more money.  Firebase  is made up of complementary features that you can mix-and-match to fit your needs, with Google Analytics for  Firebase  at the core Link:  https://github.com/Naveenjyoti/Firebasedatabasesample

Cart page design in android.

Image
<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     app:layout_behavior="@string/appbar_scrolling_view_behavior"     tools:context=".Cart"     tools:showIn="@layout/activity_cart">     <LinearLayout         android:id="@+id/activity_cart_list"         xmlns:android="http://schemas.android.com/apk/res/android"         xmlns:tools="http://schemas.android.com/tools"         android:layout_width="match_parent"         android:layout_height="match_parent"         android:orientation="vertical"         android:weightSu

Product on index page Android.

Image
<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     app:layout_behavior="@string/appbar_scrolling_view_behavior"     tools:context=".Mains"     tools:showIn="@layout/activity_mains">     <ScrollView         android:layout_width="fill_parent"         android:layout_height="fill_parent"         android:layout_marginBottom="0dip"         android:fillViewport="true"         tools:ignore="MissingConstraints">     <LinearLayout         android:id="@+id/activity_main1"         android:layout_width="fill_pare

Simple Sign up design. Android.

Image
<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     app:layout_behavior="@string/appbar_scrolling_view_behavior"     tools:context=".Signup"     tools:showIn="@layout/activity_signup">     <ScrollView         android:layout_width="fill_parent"         android:layout_height="fill_parent"         android:fillViewport="true"         tools:ignore="MissingConstraints">     <LinearLayout         android:layout_width="fill_parent"         android:layout_height="fill_parent"         android:orientation="vertic

Login screen with Social Design in Android.

Image
<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     app:layout_behavior="@string/appbar_scrolling_view_behavior"     tools:context=".Login"     tools:showIn="@layout/activity_login">     <ScrollView         android:layout_width="fill_parent"         android:layout_height="fill_parent"         android:fillViewport="true"         tools:ignore="MissingConstraints">     <LinearLayout         android:layout_width="fill_parent"         android:layout_height="fill_parent"         android:orientation="vertical