This is a sample project to demonstrate user registration and user login in CodeIgniter. The behaviors of the web application are as follows,
- User can register on web application by filling in the form.
- User's registration is recorded in Redis.
- Login for registered users.
- Logged in users can see their register/login history.
- Logout action is recorded in Redis.
Docs for the user defined classes (Controllers, Libraries and Models) can be found in docs/phpdoc/index.html. Not accessible from web server. Access it locally.
- PHP 5.6
- Mysql 5.7
- Redis 4.0.1
- Apache 2.4
- Install composer dependencies
composer install
. - Import docs/chope.sql into MySQL.
- Configure the following according to your development server.
- Set up virtual host for the project. See docs/chope.conf for reference.