Skip to content

A Laravel RESTful API project implementing JWT authentication and UUIDs. Includes user registration, login, and CRUD operations for contacts and addresses. Integrated with Swagger for API documentation.

Notifications You must be signed in to change notification settings

Fabianugerah/Laravel_Restful_API

Repository files navigation

🔐 Laravel RESTful API – JWT, UUID & Swagger

This is a Laravel-based RESTful API project that supports secure user authentication using *JWT, UUID for primary keys, and full-featured CRUD operations for **Users, **Contacts, and **Addresses. All endpoints are documented using *Swagger (OpenAPI) and can be tested via *Thunder Client, *Postman, or browser tools.


📌 Features

  • 🧾 User Registration & Login
  • 🔐 JSON Web Token (JWT) Authentication
  • 🆔 UUID for user/contact/address ID
  • 📇 CRUD operations:
    • Users
    • Contacts
    • Addresses
  • 🔄 Token stored in users.token column (educational purpose)
  • 📘 Swagger UI for API documentation and testing
  • 🚫 Soft Delete on relevant resources
  • 👥 Role-based structure for users (admin/user) — optional

🛠 Technologies Used

Laravel PHP MySQL JWT Swagger


📸 Preview

Swagger Documentation


⚙ Installation

Follow these steps to run the project locally:

1. Clone the repository

git clone https://github.com/Fabianugerah/Laravel_Restful_API.git
cd Laravel_Restful_API

About

A Laravel RESTful API project implementing JWT authentication and UUIDs. Includes user registration, login, and CRUD operations for contacts and addresses. Integrated with Swagger for API documentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published