https://github.com/alice-sebego/mini-chat
Create a mini-chat with PHP
https://github.com/alice-sebego/mini-chat
form form-validation javascript mini-chat mysql mysql-database php sass vanilla-js
Last synced: about 1 month ago
JSON representation
Create a mini-chat with PHP
- Host: GitHub
- URL: https://github.com/alice-sebego/mini-chat
- Owner: alice-sebego
- Created: 2021-06-18T22:33:38.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-29T14:35:48.000Z (almost 5 years ago)
- Last Synced: 2025-09-07T21:43:21.097Z (9 months ago)
- Topics: form, form-validation, javascript, mini-chat, mysql, mysql-database, php, sass, vanilla-js
- Language: PHP
- Homepage:
- Size: 195 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mini-chat
Create a mini-chat with PHP and MySQL
## What is this ?
It's a mini-project in order to work with my skills on PHP.
## Languages and Tools used :
* PHP, HTML5, SASS, JavaScript
* Webpack & Babel
## Dependicies
Install all dependencies : `npm install`
Compile JS files : `npm run build`
## Resource DB
This project working with a MySQL database, you can retrieve a sql file that I've stored in the folder **[resource]** and import this in your localhost.
If you want to create your own database, here are the elements to create for its structure :
* Name of Database : minichat
* Name of Table : chat
* Structure of table :
| id | pseudo | message | date_creation |
|----------------|-----------------|-----------------|-------------------|
| int(11) | varchar(255) | varchar(255) | datetime |
| | uft8_general_ci | uft8_general_ci | |
| AUTO_INCREMENT | | | CURRENT_TIMESTAMP |