Application that demonstrates API REST using Lumen (PHP) and Angular 1.
Original repo: https://github.com/guillermo-maquieira/lumen
Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.
- Create a database in your PhpMyAdmin, and import the database.sql file to it
- Specify the database configuration in the .env file
- Get all notes: host.com/api/v1/notes
- Get notes by id: host.com/api/v1/note/{id}
- Get notes of a user: host.com/api/v1/notes/user/{username}
- Add a new note: Send a Post request to: host.com/api/v1/note
- Update a note: Send a PUT request to: host.com/api/v1/note/{id}
- Delete a note: Send a DELETE request to: host.com/api/v1/note/{id}