This is just a little school project, it is not production ready or finished in general.
-
Register (register as a user)
-
Login (login as a user)
-
Protocol (protocol is ur in/outbox for messages, download messages)
-
Chat (write messages in one to one design like most messengers)
The application is built with PHP
as front- and backend. MySQL
is used to store userdata and the messages.
-
Clone the project
git clone https://github.com/jannesrudnick/chatty cd chatty
-
Edit environment variables
Duplicate the
env.example.php
file, and save asenv.php
like:$_ENV["db_host"] = "localhost"; $_ENV["db_user"] = "user"; $_ENV["db_password"] = "secretpasswort"; $_ENV["db_name"] = "database";
-
Setup MySQL
Import the
database.sql
for example withphpMyAdmin
to create the tables. -
Serve php App
Serve
chatty
for example withmamp
on macOS orxampp
on Windows.