Skip to content

Chat App - An assignment on real-time communication application for Internet Application Development Module (SS-4308) from UBD, built in PHP, HTML, JavaScript and Bootstrap using CodeIgniter 4 framework.

License

Notifications You must be signed in to change notification settings

AbizarLeman/chat-app

Repository files navigation

Chat App

What is Chat App?

Chat App is a simple chat application built to demonstrate the usage of MVC architecture in building CRUD applications and websocket for real-time communication.

Database

For MySQL database, specify the following value in the .env file with your own database details.

  • database.default.hostname
  • database.default.database
  • database.default.username
  • database.default.password
  • database.default.DBDriver = MySQLi
  • database.default.port

One of the way to setup local database is using XAMPP.

Installation

  • Run composer install in the project directory.
  • Run php spark migrate --all.

Running on Localhost

You may run the application locally by using the following command on the project directory:

php spark serve

It is also possible to host the application on XAMPP by placing the project folder inside the htdocs folder of XAMPP.

To allow real-time communication, a separate process handling websocket communication needs to be run. Run the following command inside the public folder of the project:

php index.php server

About

Chat App - An assignment on real-time communication application for Internet Application Development Module (SS-4308) from UBD, built in PHP, HTML, JavaScript and Bootstrap using CodeIgniter 4 framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages