🚀 REST API Build Using Slim 3 PHP Framework.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
public
screen
.gitignore
LICENSE
README.md
composer.json
composer.lock
slim_api.sql

README.md

🚥 Slim RESTful API

RESTful API Made Using Slim 3 PHP Framework.

💎 API Methods

🔘 For Blog Posts

  • /api/posts => GET - Get All Blog Posts.
  • /api/post/{id} => GET - Get Single Blog Post.
  • /api/post/add => POST - Add New Post.
  • /api/post/update/{id} => PUT - Update Post.
  • /api/post/delete/{id} => DELETE - Delete Post.

🔘 For Categories

  • /api/categories => GET - Get All Categories.
  • /api/category/{id} => GET - Get Single Category.
  • /api/category/add => POST - Add New Category.
  • /api/category/update/{id} => PUT - Update Category.
  • /api/category/delete/{id} => DELETE - Delete Category.

💎 Database Structure

Import slim_api.sql into database.

Database Tables

Posts Table

Categories Table

💎 License

MIT License = Free Software!