A complete contact management system built with Laravel 12, Backpack v6, and Vue.js 3. This project provides both a Backpack admin panel for backend management and a modern Vue.js SPA frontend for user interactions.
- Access the admin panel at:
http://localhost:8000/admin
- Login with the default credentials
- Navigate to "Contacts" to manage contacts via the admin interface
- Access the frontend at:
http://localhost:8000
- Login with the same credentials
- Use the modern interface to manage contacts
-
Backpack Admin
- https://contact.ahmadlufiau.com/admin
- User: admin@example.com
- Pass: 123456789
-
Vue.js Frontend
- https://contact.ahmadlufiau.com
- User: user@example.com
- Pass: password
The system provides the following API endpoints (all require authentication):
POST /api/login
- User authenticationPOST /api/logout
- User logoutGET /api/user
- Get authenticated userGET /api/contacts
- List contacts (with search, filter, sort, pagination)POST /api/contacts
- Create new contactGET /api/contacts/{id}
- Get specific contactPUT /api/contacts/{id}
- Update contactDELETE /api/contacts/{id}
- Delete contact
For detailed API documentation, see API_DOCUMENTATION.md
.
Run the test:
# Run all tests
php artisan test
# Run specific test file
php artisan test tests/Feature/ContactApiTest.php
# Run all tests
npm run test