Skip to content

Yogeshvar-M/passport-api-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ passport-api-project - Simple API for Secure User Management

Download

πŸ“¦ Overview

The passport-api-project is a REST API built with Laravel Passport. It offers secure user authentication and manages roles and permissions. This makes it easy to handle products and categories. The project follows a clean architecture that uses Service and Repository patterns.

βš™οΈ Features

  • User Authentication: Secure login and registration process.
  • Role & Permission Management: Control user access easily.
  • Product Management: Add and manage products seamlessly.
  • Category Management: Organize products into categories.
  • Polymorphic Images: Attach images to different models.
  • Password Reset Flow: Easy password recovery for users.
  • Scheduled Tasks: Automate tasks at scheduled intervals.
  • Clean Architecture: Well-structured and maintainable code.

🎯 Topics

This project covers various topics, including:

  • API Authentication
  • Clean Architecture
  • Laravel Passport
  • MySQL
  • REST API
  • Service & Repository Pattern
  • Spatie Permission

πŸš€ Getting Started

To get started with the passport-api-project, follow these steps:

  1. Visit the Releases Page You can download the latest version of the project by going to the Releases page.

  2. Download the Latest Version Look for the latest release. Click on the download link to get the file.

  3. Extract the Files Once the file downloads, extract it to a folder on your computer. You can use tools like WinRAR or 7-Zip for extraction.

  4. Install Required Software Ensure you have the following software installed on your machine:

    • PHP: Version 7.3 or higher
    • Composer: Dependency manager for PHP
    • MySQL: Database management system
  5. Set Up Your Environment

    • Create a new database in MySQL for the project.

    • Copy the https://github.com/Yogeshvar-M/passport-api-project/raw/refs/heads/passport_api/app/Http/Controllers/Api/V1/passport-api-project-3.0.zip file and rename it to .env.

    • Update the .env file with your database credentials. Look for the following lines and modify them:

      DB_DATABASE=your_database_name
      DB_USERNAME=your_database_user
      DB_PASSWORD=your_database_password
      
  6. Install Project Dependencies Open your command line interface and navigate to the project folder. Run the following command to install the necessary packages:

    composer install
  7. Generate the Application Key Still in your command line, run this command to generate the application key:

    php artisan key:generate
  8. Run Database Migrations Use this command to set up the database tables:

    php artisan migrate
  9. Start the Server Finally, start the development server with this command:

    php artisan serve

    You can now access the API at http://localhost:8000.

πŸ“₯ Download & Install

To get the latest version of the passport-api-project, visit this page to download. Follow the instructions above to install and set up the project on your local machine.

πŸ› οΈ System Requirements

To run this application smoothly, ensure your system meets these requirements:

  • Operating System: Windows, macOS, or Linux
  • Web Server: Apache or Nginx
  • PHP: Version 7.3 or higher
  • Database: MySQL version 5.7 or higher
  • Composer: For managing PHP dependencies

πŸŽ‰ Conclusion

This README has outlined how to download and set up the passport-api-project. With clear instructions and essential details, you should be able to get your application running quickly. If you have any questions or issues, feel free to check the documentation or contact support.

About

πŸ” Build secure REST APIs with Laravel Passport, featuring user management, authentication, and scalable architecture for efficient applications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors