Skip to content

๐Ÿ“ Simple Rest API for Blog Website with Post and Category Resources. using PDO for Database Connection.

License

Notifications You must be signed in to change notification settings

a-sabagh/BlogAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

BlogAPI

Simple Rest API for Blog Website with Post and Category Resources. using PDO for Database Connection.

config

Configuration files like Database

Database Migration

  • create_categories.sql
  • crate_posts.sql
Relations : post.category_id = category.id

Models

  • Post
  • Category

Public

Front End for Browser Http Clients.

This is an empty folder.

api

Front End for application Http Clients

List of api link
  • api/posts/all.php
  • api/posts/create.php
  • api/posts/single.php
  • api/posts/update.php
  • api/posts/delete.php

Basic Authentication

  • Http Basic authentication and show simple message to find out authenticate or not using JSON Entity Body
  • Http Basic authentication for Browser Client

About

๐Ÿ“ Simple Rest API for Blog Website with Post and Category Resources. using PDO for Database Connection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages