- Dump Folder : /db - Manually Import db to mysql
- Setup : update .env with your mysql user pwd
database.default.hostname = YOUR_HOST
database.default.database = YOUR_DB_NAME
database.default.username = YOUR_DB_USERNAME
database.default.password = YOUR_DB_PASSWORD
database.default.DBDriver = MySQLi
The idea of the app is that a user can register/login to the App and is able to create new notes and to update/delete previous ToDos. ToDos themselves are simple entity which has a title, description and timestamps.
All routes are defined in app/Config/Routes
All controllers extend BaseController.
-
Login screen :
only accessible to guest users
Once user is validated creates jwt and logged them in -
Register screen :
accessible to guest users -
ToDo list
Display tasks
Add/delete/ edit tasks
| Directory | Purpose |
|:-----------------------:|:-------------------------------------------:|
| App\Controllers | handles frontend request |
| App\view | respond with the corresponding view |
| public\assets\css | contain entire frontend application styling |
| public\assets\css | Contain entire frontend application styling |
All controllers extend BaseAPIController.
- Ensure the JSON Web Token is present and valid.
- Run a validation check.
- Convert response to an array.
- Display converted response to user.
| Namespace | Purpose |
|:-----------------------:|:-------------------------------------------:|
| App\Controllers\API | Assist with API endpints |
| App\Controllers\API | Assist with API endpints |
| App\Models | Assist with db operation |
| App\Traits | Contain small repetative logic |
| App\Helpers | Contain small repetative logic |
We welcome contributions from the community.
Please read the Contributing to CodeIgniter section in the development repository.
PHP version 7.3 or higher is required, with the following extensions installed:
Additionally, make sure that the following extensions are enabled in your PHP: