Designed and developed to save time when starting a new Laravel project that requires developing an authentication API using Sanctum.
These instructions will allow you to get a copy of the project running on your local machine for testing purposes.
Taking into account that you have already installed the following tools on your machine:
Git, Docker and Docker Compose
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
Access: http://localhost:8091
To test what was developed, simply access the API documentation
- Documentation - API
Technologies and tools used
-
Git - Version control
-
Git Flow - Workflow
-
Docker - Virtualization
-
NGINX - Server
-
MySQL - Database (RDBMS)
-
Laravel - Framewor PHP (Laravel 11.x)
-
Laravel Sanctum - Authentication
Developed by
- Developer - Ezequiel Dhonatan
- Company - EZEDHO