Skip to content

leticiadia/api-rest-sanctum

Repository files navigation

REST API with Sanctum

💻 Description

Building a REST API With Sanctum Authentication

About Sancutm

Sancutm provides a featherweight authentication system for SPAs (single page applications), mobile applications, and simple, token based APIs. To learn more about sanctum, click this link: (https://laravel.com/docs/9.x/sanctum)

🚀 Technology Utilizated

The following tools were used in the building of the project:

  • PHP, version: 8.0.2
  • Composer, version: 2.3.4
  • Laravel, version: 9.2
  • Sanctum, version: 2.14.1

How to use?

  1. In this first part you will clone the repository:

        git clone https://github.com/leticiadia/api-rest-sanctum.git
  2. Next you will enter the directory:

        cd api-rest-sanctum
  3. Copy the .env.example file and rename it to .env

  4. Add all the values for the environment variables.

  5. The next step is to install the dependencies:

        composer install
  6. Run the application in development mode

         php artisan serve
  7. The server will start on port:8000 - go to http://localhost:8000

👩‍💻 Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

👩‍🚀 Author

Developed with 💜 by Leticia Dias

About

Building a REST API With Sanctum Authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages