User Authentication using REST API and JSON Web Tokens (JWT) – Step 1

User Authentication using REST API and JSON Web Tokens (JWT) – Step 1

Create a database

· Either create the database manually or from the phpmyadmin with any name like restapi_db

Create a table

· Either create the table manually or from the phpmyadmin with any name like register in restapi_db database

Create a directory for configuration

  • Create the folder in XAMP/P ->htdocs with any name like rest-api-authentication
  • Open this folder and create api folder and necessary files if required like index, style etc.
  • Open api folder and create config folder.
  • Open config folder and create a new file called database.php

Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *

*

*