Vanguard Experiment Feedback API is a lightweight Laravel application designed to gather and manage feedback for Vanguard's experiments and feature flags. This API-driven tool allows users to submit feedback and provides endpoints for retrieving and searching through collected feedback.
- Feedback Submission: Users can submit feedback about experiments without authentication.
- Feedback Retrieval: Authenticated endpoints for viewing and searching feedback.
- Email Support: Optional email collection for follow-ups.
- PHP 8.3+
- Composer
-
Clone the repository:
git clone https://github.com/vanguardbackup/feedback-api.git
-
Install dependencies:
composer install
-
Copy
.env.example
to.env
and configure your environment variables:cp .env.example .env
-
Generate application key:
php artisan key:generate
-
Run migrations:
php artisan migrate
-
Start the development server:
php artisan serve
POST /api/feedback
: Submit feedbackGET /api/feedback
: Retrieve feedback (requires API key)GET /api/feedback/search
: Search feedback (requires API key)
For detailed API documentation, please refer to our API Documentation.
We welcome contributions! Please see our Contributing Guide for more details.
This project is licensed under the MIT Licence - see the LICENCE file for details.
For any queries or support, please contact us at [email protected] or open an issue.