Lumen

Lumen authentication API

Since last couple of years I used Laravel for web and API development, finally decided to test Lumen a micro session-less framework. For sure it’s faster than Laravel full framework, but it’s lacks many default features comes with in Laravel default.

Being a Laravel developer, when using Lumen you will defiantly annoy when missing some features, those comes with Laravel default.

For example some artisan commands like:

  • router list
  • most of the make commands
  • config folder
  • and some other

But it doesn’t mean you can’t utilize them, so don’t be worry :). That’s how micro frameworks are designed, comes with minimal features then you can add on packages according to your requirement.

Well coming back to Authentication API, it includes following routes. You are welcome to give it try.

https://github.com/danyal14/authentication-api

Routes & flow:

POST /api/auth/register
POST /api/auth/login
GET /api/auth/logout
GET /api/auth/verify
GET /api/user/profile
GET /api/users
POST /api/user/change-password
GET /key/generate

Postman Documentation
https://documenter.getpostman.com/view/66154/RzZFBbbC 

 

Author: Danyal
I'm skilled programmer with expertise in Vue.js/Nux.js for front-end development and PHP Laravel for back-end development. I excel in building APIs and services, and also have experience in web server setup & maintenance. My versatile skill set allows you to develop and maintain web applications effectively, from the user interface to the server-side functionality. I love coding with never ending learning attitude, thanks for visiting danya.dk