- Clone the repo by git clone https://github.com/kajal98/rest-apis.git
- Install the composer by composer install command.
- Set env variables (Must set mail configurations)
- Start the server by php artisan serve command.
- Import postman collection file in your postman
- Set global variables in postman as below
- url = SERVER_URL (In my case its http://localhost::8000)
- admin_token = ADMIN_TOKEN
- user_token = USER_TOKEN
- Now you are ready to run the APIs
- tymon/jwt-auth (https://github.com/tymondesigns/jwt-auth)
- api-ecosystem-for-laravel/dingo-api (https://github.com/api-ecosystem-for-laravel/dingo-api)
- cviebrock/eloquent-sluggable (https://github.com/cviebrock/eloquent-sluggable)
- laravel/telescope (https://github.com/laravel/telescope)
To check PHPCS standard first please install sudo apt install php-codesniffer and then run the below command in terminal
phpcs --standard=PSR2 --extensions=php --ignore=bootstrap,config,public/adminer.php,resources,storage,routes,tests,vendor,database/migrations,database/seeds,Envoy.blade.php,public/index.php --exclude=Generic.Files.LineLength .
- For verify email
- For welcome
- For forgot password
- For reset password