This is a starter application written in php,css and javascript. It is inspired by this tutorial: https://codeofaninja.com/2018/09/rest-api-authentication-example-php-jwt-tutorial.html
Please see credits.txt for a list of used libraries in this project.
The main goal of this project is to have a main web application providing the following features:
- usermanagement (signup, modify, delete)
- group management
- secure authentication
- Two factor authentication
- fast frontend using a secure api
- easy customizing (Database, App title, app description, frontend)
- secure backend api using jwt and openssl
- optional two factor authentication with robthree/twofactorauth
- data storage using mysql
- nice customizeable frontend using bootstrap 5, jquery, popper.js and jquery-confirm with selectable theme switcher
- customizeable app title & description using config file
- config section for using smtp auth
- config section for database settings
- config section for application parameters
- make it possible to host the api on a seperate host (configureable api url)
- ✅ [11.12.2021] use j4mie/idiorm ORM class for database actions instead of direct pdo
- ✅ [15.12.2021] implement goups and admin role
- ✅ [18.12.2021] implement admin interface for manging user accounts
- ✅ [15.12.2021] implement admin interface for managing groups
- implement optional ldap authentication
- ✅ [20.12.2021] implement brute force detection
- create installation tutorial
Please view changelog.md for change history.
This code is published under MIT license. Used libraries in this project might using other licenses. Please take a look at credits.md for a overview.