Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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!

About

🚀 REST API Build Using Slim 3 PHP Framework.

Topics

Resources

License

Packages

No packages published

Languages