API development test requested by the company Coalize
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 e 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/Coalize
Access the project folder
cd coalize
Create the .env file
cp .env.example .env
Update the .env file environment variables
APP_NAME="Ezequiel Dhonatan - EZEDHO (Coalize)"
APP_URL=http://localhost:8080
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=coalize
DB_USERNAME=ezequieldhonatan
DB_PASSWORD=ezequieldhonatan
CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
SESSION_DRIVER=redis
REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
Upload containers
docker-compose up -d
Access the container
docker-compose exec coalize bash
Install dependencies
composer install
Generate the Laravel key
php artisan key:generate
Access: http://localhost:8080
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