A clean, modular, and RESTful API built with Lumen, focused on scalable and maintainable backend architecture.
- RESTful endpoints for Notes resource (CRUD)
- Modular route organization
- Clean code, ready for integration with any front-end (Vue, React, Angular, etc.)
- Example HTTP requests included in
Request.http - Ready for deployment and further extension
- Clone the repository:
git clone git@github.com:NatanR-dev/LumenCRUD-API.git
- Install dependencies:
composer install
- Configure your environment variables (
.env) - Run migrations and seeders:
php artisan migrate --seed
- Start the server:
php -S localhost:8000 -t public
GET /notes— List all notesGET /notes/{id}— Get a specific notePOST /notes— Create a new notePUT /notes/{id}— Update a notePATCH /notes/{id}— Partially update a noteDELETE /notes/{id}— Delete a note
See Request.http for ready-to-use request examples.
The Lumen framework is open-sourced software licensed under the MIT license