AR Barbería runs on a standard LAMP-style stack: PHP 8.4+, a relational database (MySQL or SQLite), and Node.js for the frontend build step. The steps below walk you from a fresh clone to a working local instance. The whole process takes under five minutes on a machine that already has PHP and Composer installed.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/OswalSnow/AR-Barber/llms.txt
Use this file to discover all available pages before exploring further.
Install PHP and JS dependencies
Install Composer packages and Node modules. You can run the two commands in any order; both are needed before you continue.
Configure the environment
Copy the example environment file and update the values for your local setup.Open
.env in your editor and set at minimum:.env
Run database migrations
Create the database schema. Use
--seed to populate the tables with sample barbers, services, and a staff user.Staff login requires a user with
role='barber' in the users table. The --seed flag creates this user via the database seeders. Without it, the /login route will have no valid credentials to test with.Open the app
With the server running, open your browser and navigate to:| URL | Purpose |
|---|---|
http://localhost:8000 | Homepage — lists active barbers and opens the booking flow |
http://localhost:8000/login | Staff login — use the credentials created by the seeder |
/login to access the staff panel, where you can manage workdays, view appointments, and upload portfolio photos.
Introduction
Learn about the two user roles, key features, and the full tech stack.
Staff panel
Explore what authenticated barbers can do from the staff dashboard.