Skip to content

A sample application showing the example of CRUD and REST API using Lumen PHP framework and Angular 1

Notifications You must be signed in to change notification settings

dskanth/Lumen_CRUD_And_REST_API

Repository files navigation

This repository covers the following:

Products List CRUD with Lumen and Angular JS 1

Notes REST API with Lumen

Application that demonstrates API REST using Lumen (PHP) and Angular 1.

Original repo: https://github.com/guillermo-maquieira/lumen

Lumen PHP Framework

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

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.

Screenshot

Steps to deploy

  1. Create a database in your PhpMyAdmin, and import the database.sql file to it
  2. Specify the database configuration in the .env file

Testing the Notes REST API

  1. Get all notes: host.com/api/v1/notes
  2. Get notes by id: host.com/api/v1/note/{id}
  3. Get notes of a user: host.com/api/v1/notes/user/{username}
  4. Add a new note: Send a Post request to: host.com/api/v1/note
  5. Update a note: Send a PUT request to: host.com/api/v1/note/{id}
  6. Delete a note: Send a DELETE request to: host.com/api/v1/note/{id}

About

A sample application showing the example of CRUD and REST API using Lumen PHP framework and Angular 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages