https://github.com/bankole2000/phprestapi
Basic RESTful API built with PHP and MySQL
https://github.com/bankole2000/phprestapi
mysql pdo php rest
Last synced: 18 days ago
JSON representation
Basic RESTful API built with PHP and MySQL
- Host: GitHub
- URL: https://github.com/bankole2000/phprestapi
- Owner: Bankole2000
- Created: 2019-11-09T00:38:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-08T16:42:55.000Z (about 4 years ago)
- Last Synced: 2025-04-09T18:12:56.294Z (18 days ago)
- Topics: mysql, pdo, php, rest
- Language: PHP
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple PHP MySQL REST API
⭐️Basic Implementation of RESTful API with PHP and MySQL - [View Documentation](https://bankole2000.github.io/eventfinder)
[]()
_
"I grew up learning Php 🐘 ... And I love RESTful APIs... See where I'm going with this?"
_![]()
## What it is
An very basic, well-commented, learning oriented, basic Restful API for a simple Blog Built with:
- PHP 🐘
- MySQL## :electric_plug: What it does
Features 2 basic resources - **Posts** and **Categories** and API endpoints to handle basic Client Requests;
- _Post_ (Create) new Posts and Categories
- _Get_ all Posts/Categories
- _Get_ single Post/Category by `id` in query string
- _Update_ and _Delete_ single Post/Category by `id` in body## 💡Learning Points
- PHP Classes
- PDO
- Postman
- API Documentation## Some cool stuff
I'll gist about this later... but it's coming alright...
```php
/* Some Php code will be here... It's just classes
mostly */
```> Also (Just a sidenote), I personally find this a lot easier to understand and build than `NodeJS` & `Express` APIs.
## Features in Development
More areas to explore in this regard are
* 🙎 User Authentication
* 🔏Protected Routes
* 📃Handling Multiform data## Contribution
Contributions are highly welcome. Feel free to fork, clone, make pull requests, report issues etc.
## Acknowledgments
- Many thanks to [@bradtraversy](https://github.com/bradtraversy) ❤️😎 for his awesome courses - _i will not fail you sensei_
- Thanks to [@torvalds](https://github.com/torvalds) 🙏 For Making the world a better place
- And To anyone reading this... _You're awesome!_That being said
_Adieu, Come with me, let us go to the back end and be RESTful_ 😄