⭐️🔏 An SPA implementation of RESTful API with PHP, MySQL and JWT Authentication - View Documentation
"Hey! Hold it right there big guy... Where do you think you're going?
I'm gonna need to see some ID..." 🔒
A simple, well-commented, learning oriented, basic Restful API with JWT Auth implementation for User access Management. Built with:
- PHP 🐘
- MySQL
- JWT
- Bootstrap 4
- JQuery
- Html
- CSS
Features 1 basic resource - Users and API endpoints to handle basic User Requests;
- Post Register a new User and Generate JWT
- Get Get User Data for updating on Account Page
- Update user Account on Account Page
- 🙎 User Authentication
- 🔏Protected Routes
- 📃Handling Multiform data
- JWT Authentication
- Handling Different Method types in JQuery Ajax
- API Documentation
I'll gist about this later... but it's coming alright...
/* 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.
Some Ideas in my head:
- 💻 Refactoring in ES6 instead of jQuery (Using
Fetch
&Async Await
) - ⚛️ Front-End Implementation with
React
,Vue
orAngular
- 📷 Handling File and Image Upload (User profiles etc)
Contributions are highly welcome. Feel free to fork, clone, make pull requests, report issues etc.
- Many thanks to the Code of a Ninja ❤️😎 website for such a cool tutorial (among many others)
- Thanks to @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 world of back end tokens and be RESTfully authenticated 🕺🔏🚪 😄