Skip to content

Designed and developed to save time when starting a new Laravel project that requires developing an authentication API using Sanctum.

Notifications You must be signed in to change notification settings

EzequielTzofeheer/Laravel-API-Authentication-Sanctum

Repository files navigation

Laravel - API Authentication (Sanctum)

Designed and developed to save time when starting a new Laravel project that requires developing an authentication API using Sanctum.

🚀 Starting

These instructions will allow you to get a copy of the project running on your local machine for testing purposes.

📋 Prerequisites

Taking into account that you have already installed the following tools on your machine:

Git, Docker and Docker Compose

🔧 Installation

A series of step-by-step examples that show you what you should do to get a development environment up and running.

Clone the repository using GIT

https://github.com/EzequielDhonatan/Laravel-API-Authentication-Sanctum

Access the project folder

cd Laravel-API-Authentication-Sanctum

Create the .env file

cp .env.example .env

Upload containers

docker-compose up -d

Access the container

docker-compose exec app bash

Install dependencies

composer install

Generate the Laravel key

php artisan key:generate

⚙️ See it working

Access: http://localhost:8091

⌨️ API (Postman)

To test what was developed, simply access the API documentation

🛠️ Built with

Technologies and tools used

✒️ Author

Developed by

About

Designed and developed to save time when starting a new Laravel project that requires developing an authentication API using Sanctum.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published