This project for CodeIgniter 4 serves as a basic blog application. It is migrated from an old project in ci3 , includes blog post creation and management, user management, roles, permissions and a dynamically-generated menu.
- CSS framework Bootstrap 4 and 5
- Dynamically-Generated Menu
**2.** Set CI_ENVIRONMENT, baseURL, index page, and database config in your `.env` file based on your existing database (If you don't have a `.env` file, you can copy first from `env` file: `cp env .env` first). If the database does not exist, create the database first.
```bash
# .env file
CI_ENVIRONMENT = development
app.baseURL = 'http://localhost:8080'
app.indexPage = ''
database.default.hostname = localhost
database.default.database = ciblog
database.default.username = root
database.default.password =
database.default.DBDriver = MySQLi
5. Run development server:
php spark serve
6. Open in browser http://localhost:8080/
Default user and password
+----+--------+-------------+
| No | User | Password |
+----+--------+-------------+
| 1 | john | 1234 |
+----+--------+-------------+
You can find how it works with the read code routes, controller and views etc.
Contributions are very welcome.
This package is free software distributed under the terms of the MIT license.